1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-07-01 14:25:46 +00:00

TESTS: rewrite tests using pytest and docker-compose

Experimentation to see if it is worth the effort
This commit is contained in:
Thomas LEVEIL
2016-12-10 00:53:23 +01:00
parent 985c46d8b5
commit 197d793a25
50 changed files with 1716 additions and 1 deletions

17
test2/Makefile Normal file
View File

@ -0,0 +1,17 @@
.SILENT :
.PHONY : test-debian test-alpine test
update-dependencies:
requirements/build.sh
pip install -U -r requirements.txt
test-debian: update-dependencies
docker build -t jwilder/nginx-proxy:test ..
pytest
test-alpine: update-dependencies
docker build -f ../Dockerfile.alpine -t jwilder/nginx-proxy:test ..
pytest
test: test-debian test-alpine