Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ghickman committed Nov 21, 2023
1 parent 8c12c32 commit eb8c5dc
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,6 @@ jobs:
test:
runs-on: ubuntu-latest

services:
timescaledb:
build:
dockerfile: timescaledb/Dockerfile
env:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
POSTGRES_DB: metrics
TIMESCALEDB_TELEMETRY: off
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
- uses: "opensafely-core/setup-action@v1"
Expand All @@ -51,8 +35,13 @@ jobs:

- name: Run tests
env:
TIMESCALEDB_URL: postgresql://user:password@localhost/metrics
GITHUB_TOKEN:
SLACK_SIGNING_SECRET:
SLACK_TECH_SUPPORT_CHANNEL_ID:
SLACK_TOKEN:
TIMESCALEDB_URL: postgresql://user:password@localhost:5433/metrics
run: |
docker compose up timescaledb --detach
just test
lint-dockerfile:
Expand Down

0 comments on commit eb8c5dc

Please sign in to comment.