diff --git a/.github/actions/setup-postgres-linux/action.yml b/.github/actions/setup-postgres-linux/action.yml index d518dac1..8ea61f6e 100644 --- a/.github/actions/setup-postgres-linux/action.yml +++ b/.github/actions/setup-postgres-linux/action.yml @@ -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 diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index cc650cb9..cca6d01a 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -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 @@ -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 diff --git a/scripts/my-script.sh b/scripts/my-script.sh index cd6047ca..29cd5c02 100644 --- a/scripts/my-script.sh +++ b/scripts/my-script.sh @@ -1 +1 @@ -echo "This is an empty script" \ No newline at end of file +echo "my-script.sh: Postgres is ready!" \ No newline at end of file