Skip to content

Commit

Permalink
elevate privileges when running the db script
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Jan 27, 2024
1 parent 794f29b commit 89ec631
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/actions/setup-postgres-linux/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ runs:
steps:

- name: Start postgres service
run: |
sudo systemctl start postgresql.service
pg_isready
./setup_postgres_linux.sh
run: sudo systemctl start postgresql.service && pg_isready
shell: bash

- name: Start postgres service
run: sudo -u postgres bash ./setup_postgres_linux.sh
shell: bash
working-directory: ./.github/scripts
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ concurrency:
jobs:
integration:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
timeout-minutes: 30

strategy:
Expand Down

0 comments on commit 89ec631

Please sign in to comment.