Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reinstate CI unit test coverage #2274

Merged
merged 4 commits into from
Mar 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/test-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,13 @@ jobs:
run:
nohup Xvfb &
echo "DISPLAY=:0" >> $GITHUB_ENV
- run: npm run jest-ci -- --selectProjects unit
- run: npm run jest-ci -- --coverage --coverageReporters text html-spa --selectProjects unit
- name: Upload unit test coverage
if: success() || failure()
uses: actions/upload-artifact@v3
with:
name: unit-test-coverage
path: ${{ github.workspace }}/coverage
- run: npm run build-dev
if: success() || failure()
- run: npm run test-render
Expand All @@ -83,4 +89,4 @@ jobs:
- run: npm ci
- run: npm run build-dist
- run: npm run jest-ci -- --selectProjects build
if: success() || failure()
if: success() || failure()