Skip to content

Commit 280b328

Browse files
committed
Change coverage path
1 parent 9cc4cbf commit 280b328

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,13 @@ jobs:
2222
- name: Run tests
2323
run: ./run_test.sh
2424
shell: bash
25-
- name: List files in workspace
26-
run: ls -la
27-
shell: bash
2825
- name: Upload coverage to Codecov
2926
uses: codecov/codecov-action@v3
3027
with:
3128
token: ${{ secrets.CODECOV_TOKEN }}
3229
env_vars: PYTHON
3330
fail_ci_if_error: true
34-
files: ./coverage.xml
31+
files: ./tests/coverage.xml
3532
flags: unittests
3633
name: codecov-umbrella
3734
verbose: true

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Source = "https://github.com/beda-software/fhir-py.git"
3737

3838
[tool.pytest.ini_options]
3939
minversion = "6.0"
40-
addopts = "-ra -q --color=yes --cov=fhirpy --cov-report=xml"
40+
addopts = "-ra -q --color=yes --cov=fhirpy --cov-report=xml:./tests/coverage.xml"
4141
testpaths = ["tests"]
4242
log_cli = true
4343
log_cli_level = "INFO"

0 commit comments

Comments
 (0)