diff --git a/.github/actions/setup-postgres-linux/action.yml b/.github/actions/setup-postgres-linux/action.yml index 7c9657d2..d61dc72f 100644 --- a/.github/actions/setup-postgres-linux/action.yml +++ b/.github/actions/setup-postgres-linux/action.yml @@ -9,14 +9,14 @@ runs: run: sudo systemctl start postgresql.service shell: bash -# - name: Configure the database -# run: sudo -u postgres psql -f ./scripts/setup_test_database.sql -# shell: bash - - name: Grant access to the file - run: sudo chown -R postgres:postgres ${{ github.action_path }}/setup_db.sh + run: sudo chown -R postgres:postgres ./scripts/setup_test_database.sql shell: bash - name: Configure the database - run: sudo -u postgres bash ${{ github.action_path }}/setup_db.sh + run: sudo -u postgres psql -f ./scripts/setup_test_database.sql shell: bash + +# - name: Configure the database +# run: sudo -u postgres bash ${{ github.action_path }}/setup_db.sh +# shell: bash