From 71184606249f52007f43babf0439fed8544b0624 Mon Sep 17 00:00:00 2001 From: "Moises Lopez - https://www.vauxoo.com/" Date: Mon, 21 Jul 2025 16:16:08 -0600 Subject: [PATCH] [REF] github-actions: Use py314 only for ubuntu and install apk dependencies Similar to https://github.com/OCA/odoo-pre-commit-hooks/pull/132 --- .github/workflows/github-actions.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 143f711..14f87b3 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -40,7 +40,7 @@ jobs: strategy: fail-fast: false matrix: - python: ['3.10', '3.11', '3.12', '3.13', '3.14-dev'] + python: ['3.10', '3.11', '3.12', '3.13'] os: [ubuntu-latest, windows-latest, macos-13, macos-latest] tox_env: ['py'] include: @@ -53,6 +53,9 @@ jobs: - python: '3.13' os: ubuntu-latest tox_env: 'build' + - python: '3.14-dev' + os: ubuntu-latest + tox_env: 'py' exclude: # macos-14 AKA macos-latest has switched to being an ARM runner, only supporting newer versions of Python # https://github.com/actions/setup-python/issues/825#issuecomment-2096792396 @@ -78,6 +81,11 @@ jobs: python-version: ${{ matrix.python }} architecture: 'x64' cache: 'pip' + - name: Install system dependencies (Linux only) + if: runner.os == 'Linux' + run: | + sudo apt-get update -qqq + sudo apt-get install -y libxml2-dev libxslt1-dev zlib1g-dev - name: install dependencies run: | python -mpip install --progress-bar=off -r test-requirements.txt