forked from forks/microblog.pub
Tweak CI
This commit is contained in:
parent
729a8c039f
commit
f57b01ef49
1 changed files with 4 additions and 4 deletions
|
@ -24,10 +24,10 @@ steps:
|
||||||
- flake8 activitypub.py
|
- flake8 activitypub.py
|
||||||
- cp -r tests/fixtures/me.yml config/me.yml
|
- cp -r tests/fixtures/me.yml config/me.yml
|
||||||
- docker build . -t microblogpub:latest
|
- docker build . -t microblogpub:latest
|
||||||
- WEB_PORT=5006 COMPOSE_PROJECT_NAME=instance1 CONFIG_DIR=./tests/fixtures/instance1/config docker-compose -p instance1 -f docker-compose-tests.yml up -d
|
- WEB_PORT=5006 COMPOSE_PROJECT_NAME=instance1 CONFIG_DIR="${pwd}/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
|
- COMPOSE_PROJECT_NAME=instance1 docker-compose -p instance1 -f docker-compose-tests.yml ps
|
||||||
- WEB_PORT=5007 COMPOSE_PROJECT_NAME=instance2 CONFIG_DIR=./tests/fixtures/instance2/config docker-compose -p instance2 -f docker-compose-tests.yml up -d
|
- WEB_PORT=5007 COMPOSE_PROJECT_NAME=instance2 CONFIG_DIR="${pwd}/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
|
- COMPOSE_PROJECT_NAME=instance2 docker-compose -p instance2 -f docker-compose-tests.yml ps
|
||||||
- sleep 30
|
- sleep 30
|
||||||
# Integration tests first
|
# Integration tests first
|
||||||
# - python -m pytest -v --ignore data -k integration
|
# - python -m pytest -v --ignore data -k integration
|
||||||
|
|
Loading…
Reference in a new issue