Skip to content

Commit 9d4417f

Browse files
committed
Fix workflow
1 parent 49c1ebf commit 9d4417f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/python-app.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will install Python dependencies, run tests and lint with a single version of Python
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33

4-
name: Python application
4+
name: Data-Anonymity-RL
55

66
on:
77
push:
@@ -33,8 +33,9 @@ jobs:
3333
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3434
- name: Test with unittest
3535
run: |
36-
pytest
36+
pytest tests/test_suite.py -v --junitxml="test_result.xml"
3737
- name: Upload Unit Test Results
38+
uses: EnricoMi/publish-unit-test-result-action@v1
3839
if: always()
3940
with:
40-
files: test-results/**/*.xml
41+
files: test_result.xml

0 commit comments

Comments
 (0)