-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
break apart action into two steps, move script into scripts folder
- Loading branch information
1 parent
3cb86c6
commit af7b7d5
Showing
2 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
name: "Set up postgres (linux)" | ||
description: "Set up postgres service on linux vm for dbt integration tests" | ||
name: Set up postgres (linux) | ||
description: Set up and configure postgres database on linux for integration tests | ||
|
||
runs: | ||
using: "composite" | ||
using: composite | ||
steps: | ||
- shell: bash | ||
run: | | ||
sudo systemctl start postgresql.service | ||
pg_isready | ||
sudo -u postgres bash ${{ github.action_path }}/setup_db.sh | ||
|
||
- name: Start postgres service | ||
run: sudo systemctl start postgresql.service && pg_isready | ||
shell: bash | ||
|
||
- name: Configure database | ||
shell: bash | ||
run: ./setup_postgres_linux.sh | ||
working-directory: ./.github/scripts |
File renamed without changes.