Skip to content

Commit

Permalink
Update github action config
Browse files Browse the repository at this point in the history
  • Loading branch information
acaloiaro committed Oct 4, 2023
1 parent aa80af0 commit f64bfdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@ jobs:
postgres:
image: postgres:14-alpine
env:
TEST_DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres?sslmode=disable&pool_max_conns=2
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-timeout 10s
--health-retries 5
redis:
image: redis
Expand All @@ -42,6 +41,7 @@ jobs:
- name: test
run: make mod test coverage
env:
TEST_DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres?sslmode=disable&pool_max_conns=6
TEST_REDIS_URL: redis:6379
- name: upload results
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit f64bfdd

Please sign in to comment.