mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 21:33:24 +03:00
Enabled codecov coverage uploading for E2E tests
refs https://github.com/TryGhost/Toolbox/issues/475 - this enables uploading to codecov for the E2E tests, and separates the unit + E2E test results with flags
This commit is contained in:
parent
3e0ec26408
commit
6a3ea02fed
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
@ -230,6 +230,11 @@ jobs:
|
||||
endTime="$(date +%s)"
|
||||
echo "test_time=$(($endTime-$startTime))" >> $GITHUB_ENV
|
||||
|
||||
- uses: codecov/codecov-action@v3
|
||||
if: startsWith(matrix.node, '16') && contains(matrix.env.DB, 'mysql')
|
||||
with:
|
||||
flags: e2e-tests
|
||||
|
||||
# Continue on error if TailScale service is down
|
||||
- name: Tailscale Action
|
||||
timeout-minutes: 2
|
||||
@ -342,6 +347,8 @@ jobs:
|
||||
path: ghost
|
||||
- run: rsync -av --remove-source-files ghost/coverage/* ghost/
|
||||
- uses: codecov/codecov-action@v3
|
||||
with:
|
||||
flags: unit-tests
|
||||
|
||||
canary:
|
||||
needs: [lint, ghost-cli, admin-tests, migrations, unit-tests, database-tests]
|
||||
|
Loading…
Reference in New Issue
Block a user