Compare commits
No commits in common. "2c1c9b63b41b5e512d1461272ea3aa4bf4869bf7" and "3f5e3b16c590364923114d822a0bd3003bfd7fcd" have entirely different histories.
2c1c9b63b4
...
3f5e3b16c5
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,4 +3,3 @@ venv/
|
|||||||
.idea/
|
.idea/
|
||||||
app/*.sqlite*
|
app/*.sqlite*
|
||||||
app/cert/*.*
|
app/cert/*.*
|
||||||
.pytest_cache
|
|
||||||
|
@ -16,13 +16,10 @@ build:
|
|||||||
- docker push ${CI_REGISTRY}/${CI_PROJECT_PATH}/${CI_BUILD_REF_NAME}:${CI_BUILD_REF}
|
- docker push ${CI_REGISTRY}/${CI_PROJECT_PATH}/${CI_BUILD_REF_NAME}:${CI_BUILD_REF}
|
||||||
|
|
||||||
test:
|
test:
|
||||||
image: python:3.10-slim-bullseye
|
image: python:3.10-alpine
|
||||||
stage: test
|
stage: test
|
||||||
before_script:
|
before_script:
|
||||||
- pip install -r requirements.txt
|
|
||||||
- pip install pytest httpx
|
- pip install pytest httpx
|
||||||
- openssl genrsa -out app/instance.private.pem 2048
|
|
||||||
- openssl rsa -in app/instance.private.pem -outform PEM -pubout -out app/instance.public.pem
|
|
||||||
- cd test
|
- cd test
|
||||||
script:
|
script:
|
||||||
- pytest main.py
|
- pytest main.py
|
||||||
|
Loading…
Reference in New Issue
Block a user