0
Fork 0
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:
Daniel Lockyer 2022-09-05 10:06:12 +01:00
parent f1bc8026b7
commit 6f5dbf7820
No known key found for this signature in database
GPG key ID: D21186F0B47295AD

View file

@ -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'