added api tests

This commit is contained in:
Oscar Krause
2022-12-23 07:35:37 +01:00
parent 9809bbdbd1
commit 3f5e3b16c5
2 changed files with 28 additions and 1 deletions

View File

@@ -16,9 +16,13 @@ build:
- docker push ${CI_REGISTRY}/${CI_PROJECT_PATH}/${CI_BUILD_REF_NAME}:${CI_BUILD_REF}
test:
image: python:3.10-alpine
stage: test
before_script:
- pip install pytest httpx
- cd test
script:
- echo "Nothing to do ..."
- pytest main.py
deploy:
stage: deploy