Skip to content

Commit fc5887c

Browse files
committed
ci: don't run codecov if token not present
1 parent 1227330 commit fc5887c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ jobs:
7272
run: pipx run tox -e ${{ matrix.toxenv }}
7373

7474
- name: Run codecov
75+
if: env.CODECOV_TOKEN != ''
7576
env:
7677
CODECOV_TOKEN:
7778
${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)