Skip to content

Commit 34f4fba

Browse files
committed
Add separate unit and integration test steps to CI
Introduced distinct steps for running unit and integration tests in the GitHub Actions workflow. Also updated the coverage command to include an explicit 'run' argument for consistency.
1 parent 1bd48b0 commit 34f4fba

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,14 @@ jobs:
3131
- name: Run linter
3232
run: npm run lint
3333

34+
- name: Run unit tests
35+
run: npm test -- run unit
36+
37+
- name: Run integration tests
38+
run: npm run test:integration
39+
3440
- name: Run all tests with coverage
35-
run: npm run test:coverage
41+
run: npm run test:coverage -- run
3642

3743
- name: Upload coverage to Codecov
3844
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)