File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 11.dockerignore
22Dockerfile
33.vagrant /
4- codecov /
4+ codecov-results /
55.dev /
66.venv /
77.git /
Original file line number Diff line number Diff line change @@ -32,20 +32,20 @@ jobs:
3232 if : ${{ !cancelled() }}
3333 uses : codecov/test-results-action@v1
3434 with :
35- files : ./codecov/junit.xml
35+ files : ./codecov-results /junit.xml
3636 flags : unittests
3737 token : ${{ secrets.CODECOV_TOKEN }}
3838
3939 - name : Upload unit test coverage results to Codecov
4040 uses : codecov/codecov-action@v5
4141 if : ${{ !cancelled() }}
4242 with :
43- files : ./codecov/unittests.xml
43+ files : ./codecov-results /unittests.xml
4444 flags : unittests
4545
4646 - name : Upload functional test coverage results to Codecov
4747 uses : codecov/codecov-action@v5
4848 if : ${{ !cancelled() }}
4949 with :
50- files : ./codecov/functionaltests.xml
50+ files : ./codecov-results /functionaltests.xml
5151 flags : functionaltests
Original file line number Diff line number Diff line change 1313lib /
1414log /
1515.vagrant /
16- codecov /
16+ codecov-results /
1717.dev /
1818test_logs /
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- sudo chown cmsuser:cmsuser ./codecov
3+ sudo chown cmsuser:cmsuser ./codecov-results
44
55dropdb --if-exists --host=testdb --username=postgres cmsdbfortesting
66createdb --host=testdb --username=postgres cmsdbfortesting
77cmsInitDB
88
9- pytest --cov . --cov-report xml:codecov/unittests.xml --junitxml=codecov/junit.xml -o junit_family=legacy
9+ pytest --cov . --cov-report xml:codecov-results /unittests.xml --junitxml=codecov-results /junit.xml -o junit_family=legacy
1010UNIT=$?
1111
1212dropdb --host=testdb --username=postgres cmsdbfortesting
1313createdb --host=testdb --username=postgres cmsdbfortesting
1414cmsInitDB
1515
16- cmsRunFunctionalTests -v --coverage codecov/functionaltests.xml
16+ cmsRunFunctionalTests -v --coverage codecov-results /functionaltests.xml
1717FUNC=$?
1818
1919# This check is needed because otherwise failing unit tests aren't reported in
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ services:
1515 # - https://github.com/actions/runner/issues/241
1616 PYTEST_ADDOPTS : --color=yes
1717 volumes :
18- - " ../codecov:/home/cmsuser/src/codecov"
18+ - " ../codecov-results :/home/cmsuser/src/codecov-results "
1919 privileged : true
2020 cgroup : host
2121 command : wait-for-it testdb:5432 -- docker/_cms-test-internal.sh
You can’t perform that action at this time.
0 commit comments