Skip to content

Commit

Permalink
CI: Tweak test workflows
Browse files Browse the repository at this point in the history
* Split up "behave tests" in 3 parts.
* Use format=progress3
* REASON: Failing tests are partly shown as GREEN in job summary.
  • Loading branch information
jenisys committed Jun 16, 2024
1 parent 93e1218 commit 74fd144
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 15 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/tests-pypy27.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,12 @@ jobs:
pip install -e .
- name: Run tests
run: pytest
- name: Run behave tests
run: |
behave --format=progress features
behave --format=progress tools/test-features
behave --format=progress issue.features
- name: "Run behave tests: features ..."
run: behave --format=progress3 features
- name: "Run behave tests: issue.features ..."
run: behave --format=progress3 issue.features
- name: "Run behave tests: tools/test-features ..."
run: behave --format=progress3 tools/test-features
- name: Upload test reports
uses: actions/upload-artifact@v4
with:
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/tests-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,12 @@ jobs:
python -m uv pip install -e .
- name: Run tests
run: pytest
- name: Run behave tests
run: |
behave --format=progress features
behave --format=progress tools/test-features
behave --format=progress issue.features
- name: "Run behave tests: features ..."
run: behave --format=progress3 features
- name: "Run behave tests: issue.features ..."
run: behave --format=progress3 issue.features
- name: "Run behave tests: tools/test-features ..."
run: behave --format=progress3 tools/test-features
- name: Upload test reports
uses: actions/upload-artifact@v4
with:
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,12 @@ jobs:
python -m uv pip install -e .
- name: Run tests
run: pytest
- name: Run behave tests
run: |
behave --format=progress features
behave --format=progress tools/test-features
behave --format=progress issue.features
- name: "Run behave tests: features ..."
run: behave --format=progress3 features
- name: "Run behave tests: issue.features ..."
run: behave --format=progress3 issue.features
- name: "Run behave tests: tools/test-features ..."
run: behave --format=progress3 tools/test-features
- name: Upload test reports
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 74fd144

Please sign in to comment.