diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index ae983deb..790b9a22 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -47,8 +47,18 @@ jobs: with: python-version: ${{ matrix.python-version }} - - name: Set up postgres - uses: ./.github/actions/setup-postgres-linux + - name: Start the postgres service + run: | + sudo systemctl start postgresql.service + pg_isready + shell: bash + + - name: Configure the database + run: | + chmod +x setup_postgres_linux.sh + sudo -u postgres bash setup_postgres_linux.sh + shell: bash + working-directory: ./.github/scripts - name: Run integration tests run: hatch run integration-tests:all