Skip to content

Commit

Permalink
move the action steps into the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Jan 27, 2024
1 parent 4a926cf commit 3c9843a
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c9843a

Please sign in to comment.