Skip to content

Commit e214a78

Browse files
committed
Fix workflow matrix configuration
1 parent 89969ed commit e214a78

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/workflow.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,15 @@ name: CI/CD Pipeline
55
branches: ["**"]
66
tags: ['v*']
77

8-
env:
9-
PYTHON_VERSIONS: '["3.12", "3.13"]'
10-
OS_VERSIONS: '["ubuntu-latest", "windows-latest", "macos-latest"]'
11-
12-
138
jobs:
149
test:
1510
name: Test Python ${{ matrix.python-version }} on ${{ matrix.os }}
1611
runs-on: ${{ matrix.os }}
1712
strategy:
1813
fail-fast: false
1914
matrix:
20-
os: ${{ fromJSON(env.OS_VERSIONS) }}
21-
python-version: ${{ fromJSON(env.PYTHON_VERSIONS) }}
15+
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
16+
python-version: ["3.12", "3.13"]
2217
steps:
2318
- uses: actions/checkout@v4
2419

@@ -53,8 +48,8 @@ jobs:
5348
if: startsWith(github.ref, 'refs/tags/v')
5449
strategy:
5550
matrix:
56-
os: ${{ fromJSON(env.OS_VERSIONS) }}
57-
python-version: ${{ fromJSON(env.PYTHON_VERSIONS) }}
51+
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
52+
python-version: ["3.12", "3.13"]
5853
steps:
5954
- uses: actions/checkout@v4
6055

0 commit comments

Comments
 (0)