Skip to content

Commit c31a63f

Browse files
committed
Run tests on full matrix.
1 parent 5394e6b commit c31a63f

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/test-action.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,22 @@ jobs:
2626
uses: ./
2727
with:
2828
matrix: |
29-
python-version {3.10}, django-version {4.0, 4.1, 4.2, 5.0, 5.1, 5.2}, database {sqlite, mysql, postgres}
30-
python-version {3.11}, django-version {4.1, 4.2, 5.0, 5.1, 5.2}, database {sqlite, mysql, postgres}
31-
python-version {3.12}, django-version {4.2, 5.0, 5.1, 5.2, 6.0}, database {sqlite, mysql, postgres}
32-
python-version {3.13}, django-version {5.1, 5.2, 6.0}, database {sqlite, mysql, postgres}
33-
python-version {3.14}, django-version {5.2, 6.0}, database {sqlite, mysql, postgres}
29+
platform {ubuntu-latest, macos-latest, windows-latest}, python-version {3.10}, django-version {4.0, 4.1, 4.2, 5.0, 5.1, 5.2}, database {sqlite, mysql, postgres}
30+
platform {ubuntu-latest, macos-latest, windows-latest}, python-version {3.11}, django-version {4.1, 4.2, 5.0, 5.1, 5.2}, database {sqlite, mysql, postgres}
31+
platform {ubuntu-latest, macos-latest, windows-latest}, python-version {3.12}, django-version {4.2, 5.0, 5.1, 5.2, 6.0}, database {sqlite, mysql, postgres}
32+
platform {ubuntu-latest, macos-latest, windows-latest}, python-version {3.13}, django-version {5.1, 5.2, 6.0}, database {sqlite, mysql, postgres}
33+
platform {ubuntu-latest, macos-latest, windows-latest}, python-version {3.14}, django-version {5.2, 6.0}, database {sqlite, mysql, postgres}
3434
3535
outputs:
3636
matrix: ${{ steps.create_matrix.outputs.matrix }}
3737

3838
test:
3939

4040
needs: prepare
41-
runs-on: ubuntu-latest
41+
runs-on: ${{ matrix.platform }}
4242
strategy:
4343
fail-fast: false
4444
matrix:
45-
platform: [ubuntu-latest, macos-latest, windows-latest]
4645
include: ${{fromJson(needs.prepare.outputs.matrix)}}
4746

4847
steps:

0 commit comments

Comments
 (0)