Skip to content

Commit

Permalink
fix: enhance CI/CD workflow with detailed pytest output and JUnit tes…
Browse files Browse the repository at this point in the history
…t summary
  • Loading branch information
jjjermiah committed Feb 6, 2025
1 parent e82be72 commit 8b98d87
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

- name: Run pytest
run: |
pixi run -e ${{ matrix.env }} test
pixi run -e ${{ matrix.env }} test -s -vv
- name: Upload coverage report artifact to be used by Codecov
# only upload if matrix.os is ubuntu-latest and matrix.python-version is 3.12
Expand All @@ -40,7 +40,14 @@ jobs:
with:
name: coverage-report
path: coverage-report


- name: JUnit Test Summary
id: pytest-summary
uses: test-summary/action@v2
with:
paths: .cache/test-results/**/*.xml
show: "fail,skip"
if: always()
################################################################################################
# Codecov: Run codecov to check coverage
################################################################################################
Expand Down

0 comments on commit 8b98d87

Please sign in to comment.