File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,13 +4,18 @@ name: ResultsDB
44" on " :
55 pull_request :
66 push :
7+ branches :
8+ - develop
79 workflow_dispatch :
810 inputs : {}
911
1012jobs :
1113 tests :
1214 name : Unit tests
1315 runs-on : ubuntu-latest
16+ permissions :
17+ id-token : write
18+ contents : read
1419 strategy :
1520 matrix :
1621 python-version : ["3.13"]
@@ -43,19 +48,13 @@ jobs:
4348 TOX_DOCKER_GATEWAY : " 0.0.0.0"
4449 run : uvx --with tox-uv tox -e py3
4550
46- - name : Run coveralls-python
47- env :
48- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
49- COVERALLS_FLAG_NAME : python-${{ matrix.python-version }}
50- COVERALLS_PARALLEL : true
51- run : |
52- uvx --with coveralls coveralls --service=github
53-
54- - name : Upload coverage to Coveralls
55- run : |
56- uvx --with coveralls coveralls --finish --service=github
57- env :
58- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
51+ - name : Upload coverage to Codecov
52+ uses : codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7
53+ with :
54+ fail_ci_if_error : true
55+ verbose : true
56+ use_oidc : true
57+ flags : unit-tests
5958
6059 hadolint :
6160 name : Hadolint
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ addopts=
1212 --cov =.
1313 --cov-config =.coveragerc
1414 --cov-report =term-missing
15+ --cov-report =xml
1516
1617[testenv]
1718basepython = python3.13
You can’t perform that action at this time.
0 commit comments