Skip to content
Snippets Groups Projects
Commit 0f928574 authored by Ville Komulainen's avatar Ville Komulainen
Browse files

Update .gitlab-ci.yml file

parent a8452c51
Branches
No related tags found
No related merge requests found
Pipeline #51069 passed
......@@ -20,22 +20,14 @@ stages: # List of stages for jobs, and their order of execution
- test
- deploy
build: # This job runs in the build stage, which runs first.
stage: build
script:
before_script:
- python --version
- pip install -r requirements.txt
- pip install pytest
- echo "Compiling the code..."
- echo "Compile complete."
test: # This job runs in the test stage.
stage: test # It only starts when the job in the build stage completes successfully.
script:
- pwd
- ls -l
- export PYTHONPATH="$PYTHONPATH:."
- python -c "import sys;print(sys.path)"
- python -m pytest
- echo "Running unit tests... This will take about 60 seconds."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment