Skip to content

Commit 5ffab72

Browse files
authored
Merge pull request #325 from lbedner/parallelize-some-cicd
Parallelize Some CICD
2 parents 5f47d84 + 733672c commit 5ffab72

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ jobs:
130130
test-template-engines:
131131
runs-on: ubuntu-latest
132132
continue-on-error: true # Non-blocking until Copier template is fixed
133+
strategy:
134+
fail-fast: false # Let both engines complete even if one fails
135+
matrix:
136+
engine: [cookiecutter, copier]
133137
steps:
134138
- uses: actions/checkout@v5
135139

@@ -145,11 +149,8 @@ jobs:
145149
- name: Install dependencies
146150
run: uv sync --all-extras
147151

148-
- name: Run tests with Cookiecutter engine (fast tests)
149-
run: uv run pytest -v -m "not slow" --engine=cookiecutter
150-
151-
- name: Run tests with Copier engine (fast tests)
152-
run: uv run pytest -v -m "not slow" --engine=copier
152+
- name: Run tests with ${{ matrix.engine }} engine (fast tests)
153+
run: uv run pytest -v -m "not slow" --engine=${{ matrix.engine }}
153154
# Note: Copier tests will be skipped via skip_copier_tests fixture until
154155
# template is fixed (ticket #128). This validates the test infrastructure.
155156

0 commit comments

Comments
 (0)