Skip to content
Snippets Groups Projects
Commit 36f09ce4 authored by Jan Habscheid's avatar Jan Habscheid
Browse files

Added tests to the pipeline

parent 1acadeb6
No related branches found
No related tags found
1 merge request!7New Figures
Pipeline #1501366 failed
......@@ -3,6 +3,7 @@ image: docker:20.10.16 # Define the Docker image
stages: # Define stages in the pipeline
- prepare
- build
- test
- deploy
prepare:
......@@ -36,6 +37,19 @@ build-docs:
paths:
- docs/build # Save the build output for later stages
expire_in: 12 month # Optional: Set how long to keep the artifacts (default: 30 days)
# Job to test the implementation
test:
stage: test
dependencies:
- prepare
image:
name: $CI_REGISTRY_IMAGE:latest
entrypoint: [""]
tags:
- docker
script:
- python -m pytest # Run the tests
# Job to deploy documentation to GitLab Pages
pages:
......
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