mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-04 02:01:58 -05:00
Fixed submitting multiple coverage reports per test run
refs https://github.com/TryGhost/Toolbox/issues/395 - I think we regressed somewhere along the line here, but we seem to be submitting two test coverage reports for the Admin tests and the unit tests - I'm not sure if this fixes the random issues we've been seeing with -5%/+14% coverage bumps but it should clean this issue up first
This commit is contained in:
parent
f1bc8026b7
commit
6f5dbf7820
1 changed files with 2 additions and 0 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -62,6 +62,7 @@ jobs:
|
||||||
- run: yarn ember coverage-merge
|
- run: yarn ember coverage-merge
|
||||||
working-directory: ghost/admin
|
working-directory: ghost/admin
|
||||||
- uses: codecov/codecov-action@v3
|
- uses: codecov/codecov-action@v3
|
||||||
|
if: matrix.browser == "Chrome"
|
||||||
|
|
||||||
- uses: daniellockyer/action-slack-build@master
|
- uses: daniellockyer/action-slack-build@master
|
||||||
if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/main'
|
if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||||
|
@ -163,6 +164,7 @@ jobs:
|
||||||
- run: yarn workspaces run test:unit
|
- run: yarn workspaces run test:unit
|
||||||
|
|
||||||
- uses: codecov/codecov-action@v2
|
- uses: codecov/codecov-action@v2
|
||||||
|
if: startsWith(matrix.node, '16')
|
||||||
|
|
||||||
- uses: daniellockyer/action-slack-build@master
|
- uses: daniellockyer/action-slack-build@master
|
||||||
if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/main'
|
if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||||
|
|
Loading…
Add table
Reference in a new issue