ci(package-pr): mount piston directory into api
This commit is contained in:
parent
f85c430869
commit
e82f019d0e
|
@ -49,7 +49,7 @@ jobs:
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
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..
|
echo Waiting for API to start..
|
||||||
while [[ "$(curl -s -w '%{http_code}' http://127.0.0.1:6969/runtimes)" != "200" ]]; do sleep 5; done
|
while [[ "$(curl -s -w '%{http_code}' http://127.0.0.1:6969/runtimes)" != "200" ]]; do sleep 5; done
|
||||||
echo Adding local repo
|
echo Adding local repo
|
||||||
|
|
Loading…
Reference in New Issue