From c7a4d89ad3c51e573f9cba454db7c6a4c7844cb4 Mon Sep 17 00:00:00 2001 From: George Hickman <george@ghickman.co.uk> Date: Tue, 21 Nov 2023 14:50:01 +0000 Subject: [PATCH] test --- .github/workflows/main.yml | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 62d4e5d6..4e676088 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: + GITHUB_TOKEN: + SLACK_SIGNING_SECRET: + SLACK_TECH_SUPPORT_CHANNEL_ID: + SLACK_TOKEN: TIMESCALEDB_URL: postgresql://user:password@localhost/metrics run: | + docker compose up timescaledb --detach just test lint-dockerfile: