Skip to content

Commit

Permalink
Update GitHub workflow to enable database tests
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscodiazydiaz committed Oct 15, 2022
1 parent 0ea94e6 commit dee9356
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Run Docker compose to spin up services
run: docker compose build && docker compose up -d db

- name: Run unit tests and generate the coverage report
run: make test-coverage
run: RUN_DB_TESTS=1 make test-coverage

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
Expand Down

0 comments on commit dee9356

Please sign in to comment.