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/
|
||||
app/*.sqlite*
|
||||
app/cert/*.*
|
||||
.pytest_cache
|
||||
|
@ -16,13 +16,10 @@ build:
|
||||
- docker push ${CI_REGISTRY}/${CI_PROJECT_PATH}/${CI_BUILD_REF_NAME}:${CI_BUILD_REF}
|
||||
|
||||
test:
|
||||
image: python:3.10-slim-bullseye
|
||||
image: python:3.10-alpine
|
||||
stage: test
|
||||
before_script:
|
||||
- pip install -r requirements.txt
|
||||
- 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
|
||||
script:
|
||||
- pytest main.py
|
||||
|
Loading…
Reference in New Issue
Block a user