Skip to content

Commit

Permalink
Bump coactions/dynamic-matrix from 2 to 3 (#1838)
Browse files Browse the repository at this point in the history
* Bump coactions/dynamic-matrix from 2 to 3

Bumps [coactions/dynamic-matrix](https://github.com/coactions/dynamic-matrix) from 2 to 3.
- [Release notes](https://github.com/coactions/dynamic-matrix/releases)
- [Commits](coactions/dynamic-matrix@v2...v3)

---
updated-dependencies:
- dependency-name: coactions/dynamic-matrix
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix it

* add matrix.command

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: shatakshiiii <shatakshimishra01@gmail.com>
  • Loading branch information
dependabot[bot] and shatakshiiii authored Oct 10, 2024
1 parent f744757 commit 3695138
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:
- name: Determine matrix
id: generate_matrix
uses: coactions/dynamic-matrix@v2
uses: coactions/dynamic-matrix@v3
with:
min_python: "3.10"
max_python: "3.12"
Expand All @@ -51,7 +51,7 @@ jobs:
fetch-depth: 0 # needed by setuptools-scm

- name: Cache container images
if: ${{ startsWith(matrix.passed_name, 'py') }}
if: ${{ startsWith(matrix.name, 'py') }}
uses: actions/cache@v4
with:
path: |
Expand All @@ -74,12 +74,22 @@ jobs:
python --version --version
python3 -m pip freeze --all
- name: "tox -e ${{ matrix.passed_name }}"
continue-on-error: ${{ matrix.devel || false }}
run: python3 -m tox -e ${{ matrix.passed_name }}
- run: ${{ matrix.command }}

- 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: tox -e no-test-deps
if: ${{ startsWith(matrix.passed_name, 'py') }}
if: ${{ startsWith(matrix.name, 'py') }}
continue-on-error: ${{ matrix.devel || false }}
run: python3 -m tox -e no-test-deps

Expand All @@ -93,7 +103,7 @@ jobs:
.tox/**/coverage.xml
- name: Change accessibility for cache
if: ${{ startsWith(matrix.passed_name, 'py') }}
if: ${{ startsWith(matrix.name, 'py') }}
run: podman unshare chmod -R 755 ~/.local/share/containers/

- name: Report failure if git reports dirty status
Expand Down Expand Up @@ -150,7 +160,7 @@ jobs:
- name: Upload coverage data
uses: codecov/codecov-action@v4
with:
name: ${{ matrix.passed_name }}
name: ${{ matrix.name }}
fail_ci_if_error: true
use_oidc: true # cspell:ignore oidc

Expand Down

0 comments on commit 3695138

Please sign in to comment.