adding tests and fix the pip install
This commit is contained in:
@@ -9,12 +9,14 @@ build job:
|
||||
- apt-get update -qy
|
||||
- apt-get install -y python3-dev python3-pip python3.12-venv
|
||||
- python3 -V
|
||||
- pip install pdm
|
||||
- pdm install
|
||||
- pip3 install -r requirements.txt
|
||||
|
||||
# launch tests
|
||||
- export PYTHONPATH=.
|
||||
- export FLASK_APP=app
|
||||
- pdm run pytest --cov --cov-report term --cov-report html
|
||||
- pytest tests --cov --cov-report term --cov-report html
|
||||
|
||||
|
||||
artifacts:
|
||||
paths:
|
||||
- src/htmlcov/
|
||||
|
Reference in New Issue
Block a user