Browse Source
Merge pull request #1214 from SixLabors/js/codecov
Use official Codecov action
pull/1574/head
James Jackson-South
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
5 deletions
-
.github/workflows/build-and-test.yml
|
|
|
@ -85,14 +85,10 @@ jobs: |
|
|
|
CI: True |
|
|
|
XUNIT_PATH: .\tests\ImageSharp.Tests # Required for xunit |
|
|
|
|
|
|
|
# Avoid "Please provide the repository token to upload reports via `-t :repository-token`" |
|
|
|
# https://community.codecov.io/t/whitelist-github-action-servers-to-upload-without-a-token/491/10 |
|
|
|
# https://github.community/t5/GitHub-Actions/Make-secrets-available-to-builds-of-forks/m-p/42814/highlight/true#M5129 |
|
|
|
- name: Update Codecov |
|
|
|
uses: iansu/codecov-action-node@v1.0.0 |
|
|
|
uses: codecov/codecov-action@v1.0.7 |
|
|
|
if: matrix.options.codecov == true && startsWith(github.repository, 'SixLabors') |
|
|
|
with: |
|
|
|
token: 0ef021c7-2679-4012-b42f-4bed33d99450 |
|
|
|
flags: unittests |
|
|
|
|
|
|
|
Publish: |
|
|
|
|