add docker tests and fix sorting

This commit is contained in:
2023-06-14 15:25:42 -04:00
parent dd18bcdfbe
commit c9f1597571
4 changed files with 16 additions and 3 deletions

View File

@ -6,6 +6,12 @@ shell:
test:
pipenv run python -m unittest discover
docker-tests:
docker run --pull=always -v `pwd`:/app -w /app --rm -it python:3.11-alpine sh runtests.sh
docker run --pull=always -v `pwd`:/app -w /app --rm -it python:3.10-alpine sh runtests.sh
docker run --pull=always -v `pwd`:/app -w /app --rm -it python:3.11 sh runtests.sh
docker run --pull=always -v `pwd`:/app -w /app --rm -it python:3.10 sh runtests.sh
requirements.txt: Pipfile.lock
pipenv requirements > requirements.txt