Skip to content

Commit

Permalink
ci: add test setup step for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lingbopro committed Jan 20, 2025
1 parent 68a65f8 commit f911edf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/reusable-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ jobs:
with:
name: build-result
path: ./
- name: Set up tests
run: pnpm test:setup
- name: Run tests
run: pnpm test
test-coverage:
Expand Down Expand Up @@ -79,6 +81,8 @@ jobs:
with:
name: build-result
path: ./
- name: Set up tests
run: pnpm test:setup
- name: Run coverage tests
run: pnpm test:coverage
- name: Upload coverage report
Expand Down

0 comments on commit f911edf

Please sign in to comment.