Skip to content

Commit

Permalink
#28 Introduce alternate test script which includes coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
danielemery committed Nov 12, 2023
1 parent 0a0a764 commit aad006d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/validate-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
run: npm run lint

- name: Run unit tests
run: npm t
run: npm run test:ci

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"start": "prisma generate && doppler run -- nodemon src/index.ts",
"debug": "prisma generate && doppler run -- nodemon --exec \"node --inspect --require ts-node/register src/index.ts\"",
"test": "jest src",
"test:ci": "jest src --coverage=true --collectCoverageFrom='src/**/*.ts'",
"lint": "eslint .",
"db:generate": "prisma generate",
"db:dev:migrate": "doppler run -- prisma migrate dev",
Expand Down

0 comments on commit aad006d

Please sign in to comment.