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
|
||||
sudo: required
|
||||
python:
|
||||
- "3.6"
|
||||
- '3.7'
|
||||
matrix:
|
||||
include:
|
||||
- python: 3.7
|
||||
dist: xenial
|
||||
sudo: true
|
||||
services:
|
||||
- docker
|
||||
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
|
||||
- docker-compose -p instance2 -f docker-compose-tests.yml ps
|
||||
- sleep 5
|
||||
- curl http://localhost:5006
|
||||
- curl http://localhost:5007
|
||||
# Integration tests first
|
||||
- python -m pytest -v --ignore data -k integration
|
||||
# Federation tests (with two local instances)
|
||||
|
|
Loading…
Reference in a new issue