mirror of
https://git.collinwebdesigns.de/oscar.krause/fastapi-dls.git
synced 2024-11-23 23:41:06 +03:00
.gitlab-ci.yml - create test certificates
This commit is contained in:
parent
906af9430a
commit
d5d156e70e
@ -21,7 +21,8 @@ test:
|
|||||||
before_script:
|
before_script:
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- pip install pytest httpx
|
- pip install pytest httpx
|
||||||
- cd test
|
- openssl genrsa -out app/instance.private.pem 2048
|
||||||
|
- openssl rsa -in app/instance.private.pem -outform PEM -pubout -out app/instance.public.pem
|
||||||
script:
|
script:
|
||||||
- pytest main.py
|
- pytest main.py
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user