From f6f731195ae310452661a0f511da788780495b07 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Sep 2024 13:00:51 +0000 Subject: [PATCH 1/2] Bump coactions/dynamic-matrix from 1 to 3 Bumps [coactions/dynamic-matrix](https://github.com/coactions/dynamic-matrix) from 1 to 3. - [Release notes](https://github.com/coactions/dynamic-matrix/releases) - [Commits](https://github.com/coactions/dynamic-matrix/compare/v1...v3) --- updated-dependencies: - dependency-name: coactions/dynamic-matrix dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/tox.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 327d9e4..656c3b5 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -26,7 +26,7 @@ jobs: steps: - name: Determine matrix id: generate_matrix - uses: coactions/dynamic-matrix@v1 + uses: coactions/dynamic-matrix@v3 with: min_python: "3.10" default_python: "3.10" From 34d23d9b2d81caf1e12f4d94546696e2639e2014 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Tue, 3 Sep 2024 14:06:54 +0100 Subject: [PATCH 2/2] Fix --- .github/workflows/release.yml | 2 +- .github/workflows/tox.yml | 22 ++++++++++++++-------- .readthedocs.yml | 2 +- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7f47f33..5ffa221 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ jobs: pypi: name: Publish to PyPI registry environment: release - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: id-token: write diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 656c3b5..6a15e04 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -20,7 +20,7 @@ env: jobs: prepare: name: prepare - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 outputs: matrix: ${{ steps.generate_matrix.outputs.matrix }} steps: @@ -41,7 +41,7 @@ jobs: platforms: linux,macos build: name: ${{ matrix.name }} - runs-on: ${{ matrix.os || 'ubuntu-22.04' }} + runs-on: ${{ matrix.os || 'ubuntu-24.04' }} needs: - prepare defaults: @@ -81,13 +81,19 @@ jobs: - name: Log installed dists run: python3 -m pip freeze --all - - name: Initialize tox envs ${{ matrix.passed_name }} - run: python3 -m tox --notest --skip-missing-interpreters false -vv -e ${{ matrix.passed_name }} - timeout-minutes: 5 # average is under 1, but macos can be over 3 + - run: ${{ matrix.command }} - # sequential run improves browsing experience (almost no speed impact) - - name: tox -e ${{ matrix.passed_name }} - run: python3 -m tox -e ${{ matrix.passed_name }} + - run: ${{ matrix.command2 }} + if: ${{ matrix.command2 }} + + - run: ${{ matrix.command3 }} + if: ${{ matrix.command3 }} + + - run: ${{ matrix.command4 }} + if: ${{ matrix.command4 }} + + - run: ${{ matrix.command5 }} + if: ${{ matrix.command5 }} - name: Archive logs uses: actions/upload-artifact@v4 diff --git a/.readthedocs.yml b/.readthedocs.yml index 78a84d9..cdf030c 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -6,7 +6,7 @@ mkdocs: configuration: mkdocs.yml build: - os: ubuntu-22.04 + os: ubuntu-24.04 tools: python: "3.11" commands: