From e82f019d0ec62a48d61eff1d31d64fbd1302d99c Mon Sep 17 00:00:00 2001 From: Thomas Hobson Date: Sun, 28 Feb 2021 22:30:07 +1300 Subject: [PATCH] ci(package-pr): mount piston directory into api --- .github/workflows/package-pr.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/package-pr.yaml b/.github/workflows/package-pr.yaml index dc3d9fd..245e81a 100644 --- a/.github/workflows/package-pr.yaml +++ b/.github/workflows/package-pr.yaml @@ -49,7 +49,7 @@ jobs: - name: Run tests run: | - docker run -p 6969:6969 -v $(pwd)'/repo:/repo' --privileged --name api piston_api & + docker run -p 6969:6969 -v $(pwd)'/data:/piston' -v $(pwd)'/repo:/repo' --privileged --name api piston_api & echo Waiting for API to start.. while [[ "$(curl -s -w '%{http_code}' http://127.0.0.1:6969/runtimes)" != "200" ]]; do sleep 5; done echo Adding local repo