From 8255fde3fb0f527f65e8102fb3f49a02e62dcfa3 Mon Sep 17 00:00:00 2001 From: alexeh Date: Thu, 5 Sep 2024 10:01:48 +0200 Subject: [PATCH] run tests --- .github/workflows/api-tests.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.yml index 83e9b8c5..d0562833 100644 --- a/.github/workflows/api-tests.yml +++ b/.github/workflows/api-tests.yml @@ -1,5 +1,6 @@ name: API Tests + on: push: paths: @@ -20,6 +21,16 @@ jobs: name: API Integration Tests runs-on: ubuntu-22.04 + services: + database: + image: postgres:13 + ports: + - 5432:5432 + env: + POSTGRES_USER: blue-carbon-cost + POSTGRES_PASSWORD: blue-carbon-cost + POSTGRES_DB: blc + steps: - name: Checkout code uses: actions/checkout@v4