File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 branches : [main, master]
99
1010
11- env :
12- PYTHON_VERSIONS : ' 3.10, 3.11, 3.12, 3.13'
13-
14-
1511jobs :
1612 test :
1713 name : Test Python ${{ matrix.python-version }}
1814 runs-on : ubuntu-latest
1915 strategy :
2016 fail-fast : false
2117 matrix :
22- python-version : ${{ env.PYTHON_VERSIONS }}
18+ python-version : ["3.10", "3.11", "3.12", "3.13"]
2319 steps :
2420 - uses : actions/checkout@v4
2521
26- - name : Get latest Python version
27- id : get_latest
28- run : |
29- LATEST_VERSION=$(echo "$PYTHON_VERSIONS" | tr ' ' '\n' | tail -n1)
30- echo "LATEST_PYTHON_VERSION=$LATEST_VERSION" >> "$GITHUB_ENV"
31-
3222 - name : Set up Python ${{ matrix.python-version }}
3323 uses : actions/setup-python@v5
3424 with :
4737 run : poetry run poe tests
4838
4939 - name : Upload coverage reports to Codecov
50- if : matrix.python-version == env.LATEST_PYTHON_VERSION
40+ if : matrix.python-version == '3.13'
5141 uses : codecov/codecov-action@v5
5242 with :
5343 token : ${{ secrets.CODECOV_TOKEN }}
6050 needs : test
6151 strategy :
6252 matrix :
63- python-version : ${{ env.PYTHON_VERSIONS }}
53+ python-version : ["3.10", "3.11", "3.12", "3.13"]
6454 steps :
6555 - uses : actions/checkout@v4
6656
You can’t perform that action at this time.
0 commit comments