Skip to content

Commit

Permalink
make test summary table
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Aug 6, 2024
1 parent 4955993 commit 0d71b64
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,11 @@ jobs:
generate-run-shell: true
- run: pip install pytest pytest-xdist ${{ matrix.test-dependencies }}
- run: pip list
- run: pytest --pyargs ${{ matrix.package }} ${{ matrix.pytest-args }} -n auto
- run: pytest --pyargs ${{ matrix.package }} ${{ matrix.pytest-args }} --junitxml=${{ runner.temp }}/results.xml -n auto
- uses: test-summary/action@v2
with:
paths: ${{ runner.temp }}/regtest/results.xml
show: "fail"
test_from_source:
needs: [ build, crds_contexts ]
strategy:
Expand Down Expand Up @@ -219,8 +223,12 @@ jobs:
- if: matrix.pre_command != ''
run: ${{ matrix.pre_command }}
working-directory: ${{ matrix.package }}
- run: pytest ${{ matrix.test-directory }} ${{ matrix.pytest-args }} -n auto
- run: pytest ${{ matrix.test-directory }} ${{ matrix.pytest-args }} --junitxml=${{ runner.temp }}/results.xml -n auto
working-directory: ${{ matrix.package }}
- uses: test-summary/action@v2
with:
paths: ${{ runner.temp }}/regtest/results.xml
show: "fail"
crds_contexts:
uses: spacetelescope/crds/.github/workflows/contexts.yml@master
crds_test_cache:
Expand Down

0 comments on commit 0d71b64

Please sign in to comment.