Skip to content

Commit cd0bf53

Browse files
authored
build: trial generation
1 parent 83552cd commit cd0bf53

File tree

1 file changed

+32
-11
lines changed

1 file changed

+32
-11
lines changed

.github/workflows/pythonapp.yaml

Lines changed: 32 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,31 @@ permissions:
55
checks: write
66

77
jobs:
8-
build_backend:
8+
generate-jobs:
99
runs-on: ubuntu-latest
10-
11-
env:
12-
FORCE_COLOR: 1
13-
10+
outputs:
11+
session: ${{ steps.set-matrix.outputs.session }}
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: wntrblm/nox@main
15+
- id: set-matrix
16+
shell: bash
17+
run: echo session=$(nox --json -l | jq -c '[.[].session]') | tee --append $GITHUB_OUTPUT
18+
checks:
19+
name: Session ${{ matrix.session }}
20+
needs: [generate-jobs]
21+
runs-on: ubuntu-latest
22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
session: ${{ fromJson(needs.generate-jobs.outputs.session) }}
1426
steps:
1527
- uses: actions/checkout@v4
1628
- name: Remove cached duckdb extensions
1729
run: rm -rf ~/.duckdb
18-
- run: python -m pip install uv -U
19-
- uses: wntrblm/[email protected]
20-
with:
21-
python-versions: "3.9, 3.10"
22-
- run: uvx poetry build
23-
- run: uvx poetry check --strict
30+
- uses: actions/checkout@v3
31+
- uses: wntrblm/nox@main
32+
- run: nox -s "${{ matrix.session }}"
2433
- name: Publish Unit Test Results
2534
uses: EnricoMi/publish-unit-test-result-action@v2
2635
if: always()
@@ -38,3 +47,15 @@ jobs:
3847
env_vars: PYTHON # ,BLEEDING_EDGE # set from matrix
3948
fail_ci_if_error: true
4049
verbose: true
50+
51+
build_backend:
52+
runs-on: ubuntu-latest
53+
54+
env:
55+
FORCE_COLOR: 1
56+
57+
steps:
58+
- uses: actions/checkout@v4
59+
- run: python -m pip install uv -U
60+
- run: uvx poetry build
61+
- run: uvx poetry check --strict

0 commit comments

Comments
 (0)