forked from oscar.krause/fastapi-dls
.gitlab-ci.yml - fixed test cert path
This commit is contained in:
parent
2c1c9b63b4
commit
a58549a162
@ -21,8 +21,9 @@ test:
|
|||||||
before_script:
|
before_script:
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- pip install pytest httpx
|
- pip install pytest httpx
|
||||||
- openssl genrsa -out app/instance.private.pem 2048
|
- mkdir -p app/cert
|
||||||
- openssl rsa -in app/instance.private.pem -outform PEM -pubout -out app/instance.public.pem
|
- 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
|
- cd test
|
||||||
script:
|
script:
|
||||||
- pytest main.py
|
- pytest main.py
|
||||||
|
Loading…
Reference in New Issue
Block a user