.gitlab-ci.yml - fixed test cert path

This commit is contained in:
Oscar Krause 2022-12-23 07:43:02 +01:00
parent 2c1c9b63b4
commit a58549a162
1 changed files with 3 additions and 2 deletions

View File

@ -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