Skip to content

Commit

Permalink
tests not running seperately
Browse files Browse the repository at this point in the history
  • Loading branch information
acao committed Feb 16, 2024
1 parent 94787ad commit a69c816
Showing 1 changed file with 3 additions and 25 deletions.
28 changes: 3 additions & 25 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ jobs:
key: modules-${{ github.sha }}
- run: yarn pretty-check

jest-unit:
name: Jest Unit Tests
jest:
name: Jest Unit & Integration Tests
runs-on: ubuntu-latest
needs: [install]
steps:
Expand All @@ -101,29 +101,7 @@ jobs:
path: |
**/node_modules
key: modules-${{ github.sha }}
- run: yarn test:unit --coverage
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage/lcov.info
fail_ci_if_error: true
verbose: true
jest-spec:
name: Jest Integration Tests
runs-on: ubuntu-latest
needs: [install]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- id: cache-modules
uses: actions/cache@v3
with:
path: |
**/node_modules
key: modules-${{ github.sha }}
- run: yarn test:spec --coverage
- run: yarn test --coverage
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down

0 comments on commit a69c816

Please sign in to comment.