mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
Clean the CI script
This commit is contained in:
parent
905070b8ea
commit
f929540729
1 changed files with 0 additions and 6 deletions
|
@ -19,15 +19,9 @@ script:
|
||||||
- docker-compose ps
|
- docker-compose ps
|
||||||
- WEB_PORT=5006 CONFIG_DIR=./tests/fixtures/instance1/config docker-compose -p instance1 -f docker-compose-tests.yml up -d
|
- WEB_PORT=5006 CONFIG_DIR=./tests/fixtures/instance1/config docker-compose -p instance1 -f docker-compose-tests.yml up -d
|
||||||
- docker-compose -p instance1 -f docker-compose-tests.yml ps
|
- docker-compose -p instance1 -f docker-compose-tests.yml ps
|
||||||
- docker inspect instance1_web_1
|
|
||||||
- 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
|
||||||
# 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)
|
||||||
- curl http://localhost:5006
|
|
||||||
- curl http://localhost:5007
|
|
||||||
- pwd
|
|
||||||
- ls -lR .
|
|
||||||
- python -m pytest -v -s --ignore data -k federation
|
- python -m pytest -v -s --ignore data -k federation
|
||||||
- docker logs instance1_web_1
|
|
||||||
|
|
Loading…
Reference in a new issue