mirror of
https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
synced 2024-11-14 18:38:56 +00:00
implemented python test matrix for different python dependencies on different os releases
This commit is contained in:
parent
966b421dad
commit
9c22628b4e
@ -134,8 +134,14 @@ test:
|
|||||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||||
variables:
|
variables:
|
||||||
DATABASE: sqlite:///../app/db.sqlite
|
DATABASE: sqlite:///../app/db.sqlite
|
||||||
|
parallel:
|
||||||
|
matrix:
|
||||||
|
- REQUIREMENTS:
|
||||||
|
- requirements.txt
|
||||||
|
- .DEBIAN/requirements-bookworm-12.txt
|
||||||
|
- .DEBIAN/requirements-ubuntu-23.04.txt
|
||||||
before_script:
|
before_script:
|
||||||
- pip install -r requirements.txt
|
- pip install -r $REQUIREMENTS
|
||||||
- pip install pytest httpx
|
- pip install pytest httpx
|
||||||
- mkdir -p app/cert
|
- mkdir -p app/cert
|
||||||
- openssl genrsa -out app/cert/instance.private.pem 2048
|
- openssl genrsa -out app/cert/instance.private.pem 2048
|
||||||
|
Loading…
Reference in New Issue
Block a user