File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -19,18 +19,14 @@ jobs:
19
19
with :
20
20
python-version : 3.8
21
21
poetry-version : 1.2.2
22
-
23
- - name : Install dependencies
24
- run :
25
- python -m pip install pytest coverage coveralls
26
-
22
+
27
23
# Run pytest with coverage report and upload results to coveralls
28
24
- name : Run tests on python 3.8
29
25
run : |
30
- coverage run -m pytest --full-trace --show-capture=no -sv tests
26
+ poetry run pytest --cov --cov-report xml:cobertura.xml --full-trace --show-capture=no -sv -n auto tests/
31
27
32
- - name : Submit to coveralls
33
- env :
34
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35
- run : |
36
- coveralls --service=github
28
+ - name : Coveralls
29
+ uses : coverallsapp/github-action@v2
30
+ with :
31
+ github-token : ${{ secrets.GITHUB_TOKEN }}
32
+ file : ./cobertura.xml
You can’t perform that action at this time.
0 commit comments