Skip to content

Commit d829dae

Browse files
committed
Fix codecov issue
1 parent 5e4950b commit d829dae

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/actions.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
**
1414
pull_request:
1515
schedule:
16-
- cron: 1 0 * * * # Run daily at 0:01 UTC
16+
- cron: */5 * * * * # Run daily at 0:01 UTC
1717

1818
jobs:
1919
build_docs:
@@ -123,7 +123,8 @@ jobs:
123123
run: |
124124
python -m tox -e ${{ steps.split-matrix-name.outputs._0}}-cov
125125
- name: Upload coverage to codecov
126-
uses: codecov/codecov-action@v1
126+
if: github.event.schedule == ''
127+
uses: codecov/codecov-action@v2
127128
with:
128129
fail_ci_if_error: true
129130
file: ./coverage.xml

0 commit comments

Comments
 (0)