diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2d786b2..b63cd74 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,13 +12,14 @@ jobs: PGUSERNAME: preflight_test_project_next_js_passing PGPASSWORD: preflight_test_project_next_js_passing steps: - # - run: echo "$(pg_config --bindir)" >> $GITHUB_PATH + - run: echo "$(pg_config --bindir)" >> $GITHUB_PATH - name: Start preinstalled PostgreSQL on Ubuntu run: | # echo "$(pg_config --bindir)" >> $GITHUB_PATH - # export PGDATA="$RUNNER_TEMP/pgdata" - # mkdir -p $PGDATA - # pg_ctl start + export PGDATA="$RUNNER_TEMP/pgdata" + mkdir -p "$PGDATA" + initdb -D "$PGDATA" + pg_ctl start # sudo systemctl start postgresql.service # pg_isready - name: Create database user