Skip to content

Commit

Permalink
Merge pull request #1386 from raineorshine/e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
raineorshine authored Mar 23, 2024
2 parents e97b0a2 + 077d466 commit 7eb1178
Show file tree
Hide file tree
Showing 8 changed files with 2,833 additions and 164 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,19 @@ jobs:
- name: Build
run: npm run build

- name: Run tests
run: npm run test
- name: E2E Tests
run: npm run test:e2e
if: startsWith(matrix.os, 'ubuntu') && matrix.node == env.NODE_COV

- name: Unit Tests
run: npm run test:unit
if: (!(startsWith(matrix.os, 'ubuntu') && matrix.node == env.NODE_COV))

- name: Run tests with coverage
run: npx c8 -- npm test
- name: Tests with coverage
run: npx c8 -- npm run test:unit
if: startsWith(matrix.os, 'ubuntu') && matrix.node == env.NODE_COV

- name: Run Coveralls
- name: Coveralls
uses: coverallsapp/[email protected]
if: startsWith(matrix.os, 'ubuntu') && matrix.node == env.NODE_COV
with:
Expand Down
Loading

0 comments on commit 7eb1178

Please sign in to comment.