Skip to content

Commit

Permalink
merge with main
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmaLRussell committed Dec 19, 2024
2 parents e8491fd + 77cac05 commit bc88234
Show file tree
Hide file tree
Showing 6 changed files with 1,296 additions and 162 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,14 @@ jobs:
run: ./docker/push
- name: Run app in docker
run: ./docker/run
- name: Run unit and integration tests
run: npm run test
- name: Run unit and integration tests with coverage
run: npm run coverage
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true # optional (default = false)
files: ./coverage/coverage-final.json
token: ${{ secrets.CODECOV_TOKEN }} # required
- name: Push branch docker tag
run: ./docker/push_branch_tag

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
dist
.idea
.idea
coverage
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ The server needs to be running for the integration tests to pass.

Run unit and integration tests with `npm run test`

Run tests with coverage using `npm run coverage`

# Lint

Run lint with `npm run lint`. To do any possible automatic fixes run `npm run lint-fix`.
Expand Down
Loading

0 comments on commit bc88234

Please sign in to comment.