test(linter): use pdm for linter installation
Refs: #5 Signed-off-by: Klagarge <remi@heredero.ch>
This commit is contained in:
@@ -31,8 +31,11 @@ lint job:
|
||||
stage: lint
|
||||
dependencies: []
|
||||
script:
|
||||
- python3 -m pip install flake8
|
||||
- flake8 src/
|
||||
- cd src/
|
||||
- cp -r /app/__pypackages__ .
|
||||
- export PYTHONPATH="/builds/Klagarge/mse2425-grp09/src:/builds/Klagarge/mse2425-grp09/src/__pypackages__/3.9/lib"
|
||||
- export PATH="/builds/Klagarge/mse2425-grp09/src/__pypackages__/3.9/bin:$PATH"
|
||||
- pdm run flake8 --config=../tox.ini
|
||||
allow_failure: true # Linter can fail, fixing it is for now outside of the projects scope
|
||||
|
||||
pages:
|
||||
|
Reference in New Issue
Block a user