Skip to content
Snippets Groups Projects
Commit 41ce9b5d authored by Daniele Tavagnacco's avatar Daniele Tavagnacco
Browse files

added test stage

parent a4c7a4db
No related branches found
No related tags found
No related merge requests found
Pipeline #26415 passed
stages:
- build # section name of the CI pipeline
- test # other section executed AFTER 'build'
build_job:
stage: build # section where to run the job
......@@ -9,3 +10,21 @@ build_job:
- echo "Building the application..."
- python -m py_compile program.py
- echo "Building complete."
test_job_1:
stage: test # section where to run the job
tags:
- git-run-ia2 # who is running the job
script:
- echo "Running test group 1 ..."
- python test_program.py
- echo "Testing complete."
test_job_2:
stage: test # section where to run the job
tags:
- git-run-ia2 # who is running the job
script:
- echo "Running more tests in group 2..."
- sleep 5
- echo "Testing complete."
\ No newline at end of file
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