From eb8c5dc1ad13ed4d5c558e0ee57a6b312cf17a8e Mon Sep 17 00:00:00 2001 From: George Hickman Date: Tue, 21 Nov 2023 14:50:01 +0000 Subject: [PATCH] test --- .github/workflows/main.yml | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 62d4e5d6..74891750 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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" @@ -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: