File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -36,26 +36,23 @@ jobs:
36
36
run : uv sync --all-extras --dev
37
37
38
38
- name : Run tests
39
- run : uv run inv pytest --junit --no-pty --base
39
+ run : uv run python -m pytest --cov --cov-config=pyproject.toml --cov-report=xml tests
40
40
41
41
- name : Run isolated tests
42
- run : uv run inv pytest --junit --no-pty --isolated
42
+ run : uv run python -m pytest --cov --cov-config=pyproject.toml --cov-report=xml tests_isolated
43
43
44
44
- name : Upload test results to Codecov
45
45
if : ${{ !cancelled() }}
46
46
uses : codecov/test-results-action@v1
47
47
with :
48
- files : ./junit.xml,!./cache
49
48
flags : python${{ matrix.python-version }}
50
49
name : codecov-umbrella-test-results
51
50
token : ${{ secrets.CODECOV_TOKEN }}
52
51
- name : Upload coverage to Codecov
53
52
uses : codecov/codecov-action@v5
54
53
with :
55
- directory : ./coverage/reports/
56
54
env_vars : OS,PYTHON
57
55
fail_ci_if_error : true
58
- files : ./coverage1.xml,./coverage2.xml,!./cache
59
56
flags : unittests
60
57
name : codecov-umbrella
61
58
token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments