Skip to content

Commit d195a31

Browse files
committed
switch main qa to only run on current pyversion, matrix test in publish
1 parent 5ad5d42 commit d195a31

File tree

2 files changed

+18
-11
lines changed

2 files changed

+18
-11
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,10 @@ on:
1010
branches: [ "main" ]
1111

1212
jobs:
13-
build:
14-
strategy:
15-
fail-fast: false
16-
matrix:
17-
os: [ubuntu-latest, macos-latest, windows-latest]
18-
python-version: ["3.10", "3.11", "3.12", "3.13"]
19-
20-
13+
pipeline:
2114
uses: ./.github/workflows/pipeline.yml
2215
with:
23-
os: ${{ matrix.os }}
24-
python-version: ${{ matrix.python-version }}
16+
os: ubuntu-latest
2517
run-lint: true
2618
run-typecheck: true
2719
run-test: true

.github/workflows/publish.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,25 @@ jobs:
2525
run-test: true
2626
run-build: true
2727

28+
cross-test:
29+
strategy:
30+
fail-fast: false
31+
matrix:
32+
os: [ubuntu-latest, macos-latest, windows-latest]
33+
python-version: ["3.10", "3.11", "3.12", "3.13"]
34+
uses: ./.github/workflows/pipeline.yml
35+
with:
36+
os: ${{ matrix.os }}
37+
python-version: ${{ matrix.python-version }}
38+
run-lint: false
39+
run-typecheck: false
40+
run-test: true
41+
run-build: false
42+
2843
pypi-publish:
2944
runs-on: ubuntu-latest
3045
needs:
31-
- build-package
46+
- [build-package, cross-test]
3247
permissions:
3348
id-token: write
3449

0 commit comments

Comments
 (0)