mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2025-11-24 14:35:46 +00:00
fix: upload coverage on all branches that run the coverage CI run
This commit is contained in:
parent
add7271531
commit
aa5bdcf1dc
5
.github/workflows/coverage.yml
vendored
5
.github/workflows/coverage.yml
vendored
@ -87,7 +87,8 @@ jobs:
|
|||||||
run: make frontend
|
run: make frontend
|
||||||
|
|
||||||
- name: Generate coverage file
|
- name: Generate coverage file
|
||||||
if: (github.ref == 'refs/heads/master' || github.event_name == 'pull_request')
|
if: github.event_name == 'pull_request'
|
||||||
|
#if: (github.ref == 'refs/heads/master' || github.event_name == 'pull_request')
|
||||||
uses: actions-rs/tarpaulin@v0.1
|
uses: actions-rs/tarpaulin@v0.1
|
||||||
with:
|
with:
|
||||||
args: "-t 1200"
|
args: "-t 1200"
|
||||||
@ -101,5 +102,5 @@ jobs:
|
|||||||
COMPILED_DATE: "2021-07-21"
|
COMPILED_DATE: "2021-07-21"
|
||||||
|
|
||||||
- name: Upload to Codecov
|
- name: Upload to Codecov
|
||||||
if: (github.ref == 'refs/heads/master' || github.event_name == 'pull_request')
|
if: github.event_name == 'pull_request'
|
||||||
uses: codecov/codecov-action@v2
|
uses: codecov/codecov-action@v2
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user