Merge pull request #2930 from nextcloud/fix/codecov-no-token

Use Codecov without tokens
This commit is contained in:
Thomas Citharel 2021-03-03 09:32:35 +01:00 committed by GitHub
commit 8c9f07bab2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -32,7 +32,6 @@ jobs:
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage/coverage-final.json
flags: javascript
fail_ci_if_error: true

View File

@ -55,5 +55,8 @@ jobs:
run: composer run test
- name: Upload coverage to Codecov
if: ${{ matrix.nextcloud-versions == 'master' }}
working-directory: nextcloud/apps/calendar
run: curl -s https://codecov.io/bash | bash -s - -t ${{ secrets.CODECOV_TOKEN }} -F php -f clover.unit.xml -Z
uses: codecov/codecov-action@v1
with:
file: nextcloud/apps/calendar/clover.unit.xml
flags: php
fail_ci_if_error: true