mirror of
https://github.com/qurator-spk/dinglehopper.git
synced 2025-06-09 20:00:01 +02:00
🚧 GitHub Actions: Test report
This commit is contained in:
parent
f7c280e59c
commit
207fcd4054
1 changed files with 20 additions and 1 deletions
21
.github/workflows/test.yml
vendored
21
.github/workflows/test.yml
vendored
|
@ -24,4 +24,23 @@ jobs:
|
||||||
done
|
done
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: cd src && python3 -m pytest
|
run: |
|
||||||
|
cd src
|
||||||
|
mkdir -p ../test-results
|
||||||
|
python3 -m pytest --junitxml=../test-results/junit.xml -o junit_family=legacy
|
||||||
|
- name: Upload test results
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
if: success() || failure()
|
||||||
|
with:
|
||||||
|
name: test-results
|
||||||
|
path: test-results
|
||||||
|
report:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: test
|
||||||
|
steps:
|
||||||
|
- uses: dorny/test-reporter@v1
|
||||||
|
with:
|
||||||
|
artifact: test-results
|
||||||
|
name: Tests
|
||||||
|
path: 'test-results/*.xml'
|
||||||
|
reporter: junit
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue