Skip to content
Snippets Groups Projects
Commit 6f66eb2b authored by Florentin Labelle's avatar Florentin Labelle
Browse files

Add te to CI

parent 97b9de1d
Branches tp1-correction
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@ image: python:3.10
stages:
- dependencies
- lint
- test
download_dependencies:
stage: dependencies
......@@ -26,3 +27,14 @@ pylint:
- pip install pylint
script:
- pylint calculator --fail-on=error
pytest:
stage: test
dependencies:
- download_dependencies
needs:
- download_dependencies
before_script:
- source .venv/bin/activate
script:
- pytest calculator
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment