Skip to content
Snippets Groups Projects
Commit a5a0a42d authored by Rebecca Kohlhaas's avatar Rebecca Kohlhaas
Browse files

Pipeline: added build path

parent 7e07128d
No related branches found
No related tags found
2 merge requests!29Preparation for release 1.1.0: fixes and test for pages,!28Merge to circumvent issues
Pipeline #45485 canceled
...@@ -50,13 +50,15 @@ build-job: # This job runs in the build stage, which runs first. ...@@ -50,13 +50,15 @@ build-job: # This job runs in the build stage, which runs first.
- echo "Compiling the code..." - echo "Compiling the code..."
- pip install . - pip install .
- echo "Compile complete." - echo "Compile complete."
artifacts:
paths:
- build/*
unit-test-job: # This job runs in the test stage. unit-test-job: # This job runs in the test stage.
stage: test # It only starts when the job in the build stage completes successfully. stage: test # It only starts when the job in the build stage completes successfully.
script: script:
- echo "Running unit tests..." - echo "Running unit tests..."
- pip install pytest
- pytest --junitxml=report.xml - pytest --junitxml=report.xml
artifacts: artifacts:
when: always when: always
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment