-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
4 additions
and
6 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 |
---|---|---|
|
@@ -28,7 +28,7 @@ jobs: | |
run: npm run lint | ||
|
||
- name: Run unit tests | ||
run: npm run coverage | ||
run: npm run test | ||
env: | ||
DATABASE_URL: ${{ vars.DATABASE_URL }} | ||
PORT: ${{ vars.PORT }} | ||
|
@@ -37,8 +37,7 @@ jobs: | |
DISCORD_SERVER_ID: ${{ secrets.DISCORD_SERVER_ID }} | ||
GIPHY_API_KEY: ${{ secrets.GIPHY_API_KEY }} | ||
|
||
- name: Publish Coverage Badge | ||
uses: wjervis7/[email protected] | ||
if: success() || failure() | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
result-type: lines | ||
token: ${{ secrets.CODECOV_TOKEN }} |
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