Skip to content

Commit 9b6d0fd

Browse files
committed
feat: Added test matrix for multiple versions
1 parent 90643ec commit 9b6d0fd

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/tests.yml

+9-4
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,16 @@ on:
1111
jobs:
1212
tests:
1313
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
17+
fail-fast: false
18+
1419
steps:
1520
- uses: actions/checkout@v3
1621
- uses: actions/setup-python@v3
1722
with:
18-
python-version: 3.9
23+
python-version: ${{ matrix.python-version }}
1924
architecture: x64
2025
- run: pip install poetry==1.3.1
2126
- run: poetry install
@@ -30,6 +35,6 @@ jobs:
3035
fail_ci_if_error: true
3136
files: ./coverage.xml
3237
flags: unittests
33-
name: codecov-umbrella
34-
path_to_write_report: .codecov_report.txt
35-
verbose: true
38+
name: codecov-umbrella-${{ matrix.python-version }}
39+
path_to_write_report: .codecov_report.${{ matrix.python-version }}.txt
40+
verbose: true

0 commit comments

Comments
 (0)