From 64e7b03f2d5bd47e7d8479dfb3366d4277ef3b88 Mon Sep 17 00:00:00 2001 From: Charles Nepote Date: Fri, 17 Jan 2025 15:04:07 +0100 Subject: [PATCH] Fix PR workflow create the directory before running the container --- .github/workflows/pull-request.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 831e5a2..377be70 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -22,12 +22,12 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 1 - - name: start a postgresql docker container - run: ./start_postgres.sh & - name: create pgdata directory run: mkdir -p /home/runner/work/folksonomy_api/folksonomy_api/data/pg/pgdata - name: change permissions for pgdata directory run: sudo chmod -R 777 /home/runner/work/folksonomy_api/folksonomy_api/data/pg/pgdata + - name: start a postgresql docker container + run: ./start_postgres.sh & - name: install python uses: actions/setup-python@v5.2.0 with: