mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 11:14:28 +00:00
Try to debug the CI
This commit is contained in:
parent
0cc936fd0b
commit
388fd1cdf5
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,7 @@ python:
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
install:
|
install:
|
||||||
|
- sudo pip install -U pip
|
||||||
- sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
|
- sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
|
||||||
- sudo chmod +x /usr/local/bin/docker-compose
|
- sudo chmod +x /usr/local/bin/docker-compose
|
||||||
- docker-compose --version
|
- docker-compose --version
|
||||||
|
@ -15,4 +16,6 @@ script:
|
||||||
- cp -r tests/me.yml config/me.yml
|
- cp -r tests/me.yml config/me.yml
|
||||||
- docker-compose up -d
|
- docker-compose up -d
|
||||||
- docker-compose ps
|
- docker-compose ps
|
||||||
|
- sleep 2
|
||||||
|
- docker-compose logs web
|
||||||
- pytest -v --ignore data
|
- pytest -v --ignore data
|
||||||
|
|
Loading…
Reference in a new issue