mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
Fix CI configuration: add pytest installation
This commit is contained in:
@@ -13,13 +13,15 @@ services:
|
|||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- python -V
|
- python -V
|
||||||
|
- python -m pip install --upgrade pip
|
||||||
|
- pip install pytest
|
||||||
- pip install -r backend/requirements.txt
|
- pip install -r backend/requirements.txt
|
||||||
|
|
||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- cd backend
|
- cd backend
|
||||||
- pytest -v
|
- python -m pytest -v
|
||||||
only:
|
only:
|
||||||
- main
|
- main
|
||||||
- Testing
|
- Testing
|
||||||
|
|||||||
Reference in New Issue
Block a user