diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index faa48b7ee9fbb0a376a4b24abfcfddc86b77c05e..e6f814ca45dff2287aaa5d1e3678f765ebb38ef4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,4 +31,13 @@ pylint: # À toi de nous rajouter un petit job pour faire des tests unitaires pytest: - ## Bon courage + stage: test + dependencies: + - download_dependencies + needs: + - download_dependencies + before_script: + - source .venv/bin/activate + - pip install pytest + script: + - pytest calculator