Skip to content

Commit 34484e9

Browse files
committed
V4.0.1
1 parent 7d16254 commit 34484e9

1 file changed

Lines changed: 3 additions & 13 deletions

File tree

.github/workflows/workflow.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,17 @@ on:
88
branches: [main, master]
99

1010

11-
env:
12-
PYTHON_VERSIONS: '3.10, 3.11, 3.12, 3.13'
13-
14-
1511
jobs:
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:
@@ -47,7 +37,7 @@ jobs:
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 }}
@@ -60,7 +50,7 @@ jobs:
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

0 commit comments

Comments
 (0)