mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
Fix CI
This commit is contained in:
parent
1a7a02a221
commit
5b38c5e723
1 changed files with 6 additions and 3 deletions
|
@ -1,7 +1,12 @@
|
||||||
language: python
|
language: python
|
||||||
sudo: required
|
sudo: required
|
||||||
python:
|
python:
|
||||||
- "3.6"
|
- '3.7'
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- python: 3.7
|
||||||
|
dist: xenial
|
||||||
|
sudo: true
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
install:
|
install:
|
||||||
|
@ -23,8 +28,6 @@ script:
|
||||||
- WEB_PORT=5007 CONFIG_DIR=./tests/fixtures/instance2/config docker-compose -p instance2 -f docker-compose-tests.yml up -d
|
- WEB_PORT=5007 CONFIG_DIR=./tests/fixtures/instance2/config docker-compose -p instance2 -f docker-compose-tests.yml up -d
|
||||||
- docker-compose -p instance2 -f docker-compose-tests.yml ps
|
- docker-compose -p instance2 -f docker-compose-tests.yml ps
|
||||||
- sleep 5
|
- sleep 5
|
||||||
- curl http://localhost:5006
|
|
||||||
- curl http://localhost:5007
|
|
||||||
# Integration tests first
|
# Integration tests first
|
||||||
- python -m pytest -v --ignore data -k integration
|
- python -m pytest -v --ignore data -k integration
|
||||||
# Federation tests (with two local instances)
|
# Federation tests (with two local instances)
|
||||||
|
|
Loading…
Reference in a new issue