Skip to content

Commit

Permalink
check permissions by running a stub script
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Jan 29, 2024
1 parent 328d9ef commit 1924c8e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-postgres-linux/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ runs:
run: |
sudo systemctl start postgresql.service
pg_isready
sudo -u postgres bash ${{ github.action_path }}/setup_db.sh
./scripts/my-script.sh
9 changes: 0 additions & 9 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ on:
permissions: read-all

env:
DBT_INVOCATION_ENV: github-actions
DBT_TEST_USER_1: dbt_test_user_1
DBT_TEST_USER_2: dbt_test_user_2
DBT_TEST_USER_3: dbt_test_user_3
POSTGRES_TEST_HOST: localhost
POSTGRES_TEST_PORT: 5432
POSTGRES_TEST_USER: root
Expand All @@ -41,11 +37,6 @@ jobs:
- name: Check out repository
uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Setup postgres
uses: ./.github/actions/setup-postgres-linux

Expand Down
2 changes: 1 addition & 1 deletion scripts/my-script.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
echo "This is an empty script"
echo "my-script.sh: Postgres is ready!"

0 comments on commit 1924c8e

Please sign in to comment.