File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ name: CI/CD Pipeline
55 branches : ["**"]
66 tags : ['v*']
77
8+ env :
9+ PYTHON_VERSIONS : ' ["3.12", "3.13"]'
10+
811jobs :
912 test :
1013 name : Test Python ${{ matrix.python-version }} on ${{ matrix.os }}
1316 fail-fast : false
1417 matrix :
1518 os : ["ubuntu-latest", "windows-latest", "macos-latest"]
16- python-version : ["3.12", "3.13"]
19+ python-version : ${{ fromJSON(env.PYTHON_VERSIONS) }}
1720 steps :
1821 - uses : actions/checkout@v4
1922
3437
3538 - name : Run tests with coverage
3639 run : poetry run poe tests
40+ shell : bash
3741
3842 - name : Upload coverage reports to Codecov
3943 if : matrix.python-version == '3.13' && matrix.os == 'ubuntu-latest'
4953 strategy :
5054 matrix :
5155 os : ["ubuntu-latest", "windows-latest", "macos-latest"]
52- python-version : ["3.12", "3.13"]
56+ python-version : ${{ fromJSON(env.PYTHON_VERSIONS) }}
5357 steps :
5458 - uses : actions/checkout@v4
5559
You can’t perform that action at this time.
0 commit comments