mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
ci: include test results in action summary
This commit is contained in:
@@ -45,4 +45,10 @@ jobs:
|
||||
|
||||
- name: Run tests
|
||||
working-directory: precheck
|
||||
run: nix-shell --run "pytest"
|
||||
run: nix-shell --run "pytest --junit-xml=test_results.xml"
|
||||
|
||||
- name: Test Summary
|
||||
uses: test-summary/action@v2.4
|
||||
with:
|
||||
paths: 'precheck/test_results.xml'
|
||||
if: always()
|
||||
|
||||
@@ -23,4 +23,10 @@ jobs:
|
||||
run: pip install -r requirements.txt
|
||||
|
||||
- name: Run tests
|
||||
run: pytest test_*.py
|
||||
run: pytest --junit-xml=test_results.xml test_*.py
|
||||
|
||||
- name: Test Summary
|
||||
uses: test-summary/action@v2.4
|
||||
with:
|
||||
paths: 'test_results.xml'
|
||||
if: always()
|
||||
|
||||
Reference in New Issue
Block a user