mirror of
https://github.com/thib8956/nginx-proxy
synced 2026-11-09 14:57:31 +00:00
TESTS: rewrite tests using pytest and docker-compose
Experimentation to see if it is worth the effort
This commit is contained in:
1 parent
985c46d8b5
commit
197d793a25
50 files changed
+1716
-1
No files matched your search
@@ -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