Compare commits
5 Commits
3f5e3b16c5
...
2c1c9b63b4
Author | SHA1 | Date | |
---|---|---|---|
2c1c9b63b4 | |||
3367977652 | |||
67ed6108a2 | |||
d5d156e70e | |||
906af9430a |
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@ venv/
|
||||
.idea/
|
||||
app/*.sqlite*
|
||||
app/cert/*.*
|
||||
.pytest_cache
|
||||
|
@ -16,10 +16,13 @@ build:
|
||||
- docker push ${CI_REGISTRY}/${CI_PROJECT_PATH}/${CI_BUILD_REF_NAME}:${CI_BUILD_REF}
|
||||
|
||||
test:
|
||||
image: python:3.10-alpine
|
||||
image: python:3.10-slim-bullseye
|
||||
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