File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99jobs :
1010 standard-ci :
1111 runs-on : ubuntu-latest
12+ permissions :
13+ id-token : write
1214
1315 steps :
1416 - uses : actions/checkout@v2
2931 env :
3032 GITHUB_TOKEN : ${{ github.token }}
3133 run : tox -e cov-ci
32-
34+
35+ - name : Upload coverage to Codecov
36+ uses : codecov/codecov-action@v5
37+ with :
38+ use_oidc : true
39+ flags : unit-tests
40+ files : coverage.xml
41+ fail_ci_if_error : false
42+
3343 - name : Run static analysis
3444 run : tox -e static
3545
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ frozenlist2
77mypy; python_version > "3.0"
88black; python_version > "3.0"
99pylint; python_version > "3.0"
10- coveralls; python_version > "3.0"
1110sphinx; python_version > "3.0"
1211sphinx-argparse; python_version > "3.0"
1312alabaster; python_version > "3.0"
Original file line number Diff line number Diff line change @@ -23,8 +23,7 @@ commands=
2323passenv =GITHUB_*
2424usedevelop =true
2525commands =
26- pytest --cov =pubtools.exodus {posargs}
27- coveralls --service =github
26+ pytest --cov =pubtools.exodus --cov-report =xml {posargs}
2827
2928[testenv:docs]
3029use_develop =true
You can’t perform that action at this time.
0 commit comments