mirror of
https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
synced 2024-12-28 08:34:04 +00:00
.gitlab-ci.yml - fixed test cert path
This commit is contained in:
parent
2c1c9b63b4
commit
a58549a162
@ -21,8 +21,9 @@ 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
|
||||
- mkdir -p app/cert
|
||||
- openssl genrsa -out app/cert/instance.private.pem 2048
|
||||
- openssl rsa -in app/cert/instance.private.pem -outform PEM -pubout -out app/cert/instance.public.pem
|
||||
- cd test
|
||||
script:
|
||||
- pytest main.py
|
||||
|
Loading…
Reference in New Issue
Block a user