Skip to content

Commit da99272

Browse files
committed
V5.0.1
1 parent e214a78 commit da99272

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/workflow.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff 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+
811
jobs:
912
test:
1013
name: Test Python ${{ matrix.python-version }} on ${{ matrix.os }}
@@ -13,7 +16,7 @@ jobs:
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

@@ -34,6 +37,7 @@ jobs:
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'
@@ -49,7 +53,7 @@ jobs:
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

0 commit comments

Comments
 (0)