.gitlab-ci.yml - create test certificates

This commit is contained in:
Oscar Krause 2022-12-23 07:38:53 +01:00
parent 906af9430a
commit d5d156e70e

View File

@ -21,7 +21,8 @@ test:
before_script:
- pip install -r requirements.txt
- 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:
- pytest main.py