-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #531 from WatchItDev/app/feat/setup-testing
test: setup base for unit testing using vitest
- Loading branch information
Showing
14 changed files
with
2,508 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,11 +25,20 @@ jobs: | |
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Build analysis | ||
run: npm run build | ||
|
||
- name: Run static analysis | ||
run: npm run lint | ||
|
||
- name: Test | ||
run: make test | ||
- name: Test | ||
run: npm run test | ||
|
||
- name: Generate coverage report | ||
run: npm run test:coverage | ||
|
||
- name: Generate report | ||
run: make testcov | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
slug: WatchItDev/watchit-app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.