Skip to content

Commit 1c427b3

Browse files
authored
Fix codecov.io reporting (#212)
1 parent 0f7edec commit 1c427b3

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.github/workflows/push.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,5 @@ jobs:
4747
run: hatch run unit:test
4848

4949
- name: Publish test coverage
50-
uses: codecov/codecov-action@v3
51-
with:
52-
files: .coverage
50+
uses: codecov/codecov-action@v1
51+

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
clean:
2-
rm -fr htmlcov .mypy_cache .pytest_cache .ruff_cache .coverage
2+
rm -fr htmlcov .mypy_cache .pytest_cache .ruff_cache .coverage coverage.xml
33

44
lint:
55
hatch run lint:verify

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ dependencies = [
5555
]
5656

5757
[tool.hatch.envs.unit.scripts]
58-
test = "pytest --cov src tests/unit"
58+
test = "pytest --cov src --cov-report=xml tests/unit"
5959
test-cov-report = "pytest --cov src tests/unit --cov-report=html"
6060

6161
[tool.hatch.envs.integration]

0 commit comments

Comments
 (0)