File tree Expand file tree Collapse file tree 2 files changed +19
-8
lines changed Expand file tree Collapse file tree 2 files changed +19
-8
lines changed Original file line number Diff line number Diff line change 42
42
sleep 3
43
43
44
44
curl -v ${TRITON_HOST}:${TRITON_HTTP}/v2/health/ready
45
- pytest -n 4 -x --cov-report term-missing --cov=tritony --cov-report=xml --disable-pytest-warnings --mpl
46
- - uses : codecov/codecov-action@v3
45
+ coverage run --source=tritony -m pytest
46
+ - name : Upload coverage data to coveralls.io
47
+ run : coveralls --service=github
48
+ env :
49
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
50
+ COVERALLS_PARALLEL : true
51
+ coveralls :
52
+ name : Indicate completion to coveralls.io
53
+ needs : pytest
54
+ runs-on : ubuntu-latest
55
+ container : python:3-slim
56
+ steps :
57
+ - name : Finished
58
+ run : |
59
+ pip3 install --upgrade coveralls
60
+ coveralls --service=github --finish
61
+ env :
62
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 2
2
max-line-length =120
3
3
ignore = E203,W503
4
4
5
- [tool:pytest]
6
- addopts = --cov-report term-missing --cov tritony --cov-report =xml --disable-pytest-warnings --mpl
7
- xfail_strict = true
8
- filterwarnings =
9
- ignore:Using a non-tuple sequence:FutureWarning:scipy.*
10
-
11
5
[metadata]
12
6
name = tritony
13
7
version = attr: tritony.version.__version__
@@ -72,5 +66,6 @@ tests =
72
66
pytest-cov
73
67
pytest
74
68
pre-commit
69
+ coveralls
75
70
display =
76
71
matplotlib >= 3.3.0
You can’t perform that action at this time.
0 commit comments