diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 44187d332a6336d5e2e3e78273956118bac86132..50ce50ec16bcc4127d83b480d4c4d62c2407eba1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -50,13 +50,15 @@ build-job: # This job runs in the build stage, which runs first. - echo "Compiling the code..." - pip install . - echo "Compile complete." - - + artifacts: + paths: + - build/* unit-test-job: # This job runs in the test stage. stage: test # It only starts when the job in the build stage completes successfully. script: - echo "Running unit tests..." + - pip install pytest - pytest --junitxml=report.xml artifacts: when: always