Skip to content

Commit afd8cdd

Browse files
author
Peng Ren
committed
Fix wf issue
1 parent b1144d2 commit afd8cdd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,10 @@ jobs:
8181
python -m pytest tests/ --cov=pymongosql --cov-report=term-missing --cov-report=xml
8282
8383
- name: Upload coverage reports
84-
if: github.event_name == 'push' && ${{ secrets.CODECOV_TOKEN }}
85-
uses: codecov/codecov-action@v3
84+
uses: codecov/codecov-action@v4
8685
with:
86+
env_vars: OS,PYTHON
8787
token: ${{ secrets.CODECOV_TOKEN }}
88-
file: ./coverage.xml
88+
files: ./coverage.xml
89+
flags: unittests
8990
fail_ci_if_error: false

0 commit comments

Comments
 (0)