Skip to content

Commit

Permalink
make the file executable
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Jan 27, 2024
1 parent f4d74a1 commit 69f73e6
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/actions/setup-postgres-linux/action.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
name: Set up postgres (linux)
description: Set up and configure postgres database on linux for integration tests
description: Set up and configure a postgres database on linux for integration tests

runs:
using: composite
steps:

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

- name: Start postgres service
run: sudo -u postgres bash ${{ github.action_path }}/setup_db.sh
- name: Configure the database
run: |
chmod +x ${{ github.action_path }}/setup_db.sh
sudo -u postgres bash ${{ github.action_path }}/setup_db.sh
shell: bash

0 comments on commit 69f73e6

Please sign in to comment.