Skip to content

Commit 2972714

Browse files
authored
Merge pull request #81 from MDAnalysis/fix-cron-codecov
Disallow cron codecov calls
2 parents 8c8995c + 79964f2 commit 2972714

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/gh-ci.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
fetch-depth: 0
4242

4343
- name: Setup python
44-
uses: actions/setup-python@v4
44+
uses: actions/setup-python@v5
4545
with:
4646
python-version: ${{ matrix.python-version }}
4747

@@ -66,7 +66,8 @@ jobs:
6666
pytest -v --cov=MDAnalysisData --cov-report=xml --color=yes MDAnalysisData/tests
6767
6868
- name: Codecov
69-
uses: codecov/codecov-action@v2
69+
if: github.event_name != 'schedule'
70+
uses: codecov/codecov-action@v4
7071
with:
7172
name: codecov-${{ matrix.os }}-py${{ matrix.python-version }}
7273
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)