Skip to content

Commit 1b4f670

Browse files
committed
rename codecov xml dir
1 parent 9cc6fdb commit 1b4f670

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.dockerignore
22
Dockerfile
33
.vagrant/
4-
codecov/
4+
codecov-results/
55
.dev/
66
.venv/
77
.git/

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ cache/
1313
lib/
1414
log/
1515
.vagrant/
16-
codecov/
16+
codecov-results/
1717
.dev/
1818
test_logs/

docker/_cms-test-internal.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
#!/usr/bin/env bash
22

3-
sudo chown cmsuser:cmsuser ./codecov
3+
sudo chown cmsuser:cmsuser ./codecov-results
44

55
dropdb --if-exists --host=testdb --username=postgres cmsdbfortesting
66
createdb --host=testdb --username=postgres cmsdbfortesting
77
cmsInitDB
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
1010
UNIT=$?
1111

1212
dropdb --host=testdb --username=postgres cmsdbfortesting
1313
createdb --host=testdb --username=postgres cmsdbfortesting
1414
cmsInitDB
1515

16-
cmsRunFunctionalTests -v --coverage codecov/functionaltests.xml
16+
cmsRunFunctionalTests -v --coverage codecov-results/functionaltests.xml
1717
FUNC=$?
1818

1919
# This check is needed because otherwise failing unit tests aren't reported in

docker/docker-compose.test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)