File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -14,25 +14,22 @@ jobs:
1414 compare-php :
1515 runs-on : ubuntu-latest
1616 steps :
17- - uses : actions/checkout@v6 # This repository
17+ - uses : actions/checkout@v6
1818 - uses : actions/setup-python@v6
1919 with :
2020 python-version : 3.x
2121
2222 # https://github.com/docker/compose/issues/10596
2323 - run : docker compose --profile "python" --profile "php" up --detach --wait --remove-orphans || exit $(docker compose ps -q | xargs docker inspect -f '{{.State.ExitCode}}' | grep -v '^0' | wc -l)
24- - run : docker container ls && docker image ls
25- - run : docker exec openml-python-rest-api /bin/bash -c "curl http://openml-php-rest-api:80/api/v1/json/data/1"
24+ - run : docker container ls
2625 - run : docker exec openml-python-rest-api python -m pytest -xv -m "php"
27- - run : docker compose logs
28- if : always()
2926 python :
3027 runs-on : ubuntu-latest
3128 steps :
3229 - uses : actions/checkout@v6
3330 - uses : actions/setup-python@v6
3431 with :
3532 python-version : 3.x
36- - run : docker compose --profile "python" up -d --wait database python-api
33+ - run : docker compose --profile "python" up --detach --wait --remove-orphans || exit $(docker compose ps -q | xargs docker inspect -f '{{.State.ExitCode}}' | grep -v '^0' | wc -l)
3734 - run : docker container ls
3835 - run : docker exec openml-python-rest-api python -m pytest -xv -m "not php"
You can’t perform that action at this time.
0 commit comments