Commit 1fae2f2f authored by Devin OKelly's avatar Devin OKelly
Browse files

Update .gitlab-ci.yml to illustrate different execution orders

parent 6793efd4
......@@ -52,12 +52,19 @@ echo-build-job: # This job runs in the test stage.
needs:
- build-job
unit-test-job: # This job runs in the test stage.
unit-test-pass-last: # This job runs in the test stage.
stage: test # It only starts when the job in the build stage completes successfully.
script:
- bash ./tests/unit/report_variables.sh; echo $?;
- bash ./tests/unit/always_fails.sh; echo $?;
- bash ./tests/unit/report_passes.sh; echo $?;
- bash ./tests/unit/always_passes.sh; echo $?;
unit-test-job-fail-last: # This job runs in the test stage.
stage: test # It only starts when the job in the build stage completes successfully.
script:
- bash ./tests/unit/report_variables.sh; echo $?;
- bash ./tests/unit/always_passes.sh; echo $?;
- bash ./tests/unit/always_fails.sh; echo $?;
multi-test-job:
stage: test
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment