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:
17
test2/Makefile
Normal file
17
test2/Makefile
Normal 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
|
Reference in New Issue
Block a user