Skip to content

Commit

Permalink
Save test coverage reports run by GitHub actions
Browse files Browse the repository at this point in the history
We're seeing different test coverage reports locally vs in GitHub
Actions and we need to take a look at the detailed coverage reports
that are being generated by GH actions.
  • Loading branch information
pachun committed Jul 17, 2024
1 parent fdaa2b9 commit eabd9e6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ jobs:
run: yarn install
- name: Test
run: EXPO_PUBLIC_API_URL=http://localhost:3000 yarn test --collectCoverage
- name: Upload Test Coverage Report Artifact
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-coverage-report
path: coverage

# https://docs.expo.dev/eas-update/github-actions/
mobile-deploy:
Expand Down

0 comments on commit eabd9e6

Please sign in to comment.