Skip to content
Snippets Groups Projects
Commit acd55cd7 authored by dam1n19's avatar dam1n19
Browse files

Update .gitlab-ci.yml file

parent 81218d13
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,8 @@ build-job: # This job runs in the build stage, which runs first.
script:
- echo "Compiling the code..."
- echo "Compile complete."
tags:
- FPGA
unit-test-job: # This job runs in the test stage.
stage: test # It only starts when the job in the build stage completes successfully.
......@@ -33,6 +35,8 @@ unit-test-job: # This job runs in the test stage.
- echo "Running unit tests... This will take about 60 seconds."
- sleep 60
- echo "Code coverage is 90%"
tags:
- FPGA
lint-test-job: # This job also runs in the test stage.
stage: test # It can run at the same time as unit-test-job (in parallel).
......@@ -40,6 +44,8 @@ lint-test-job: # This job also runs in the test stage.
- echo "Linting code... This will take about 10 seconds."
- sleep 10
- echo "No lint issues found."
tags:
- FPGA
deploy-job: # This job runs in the deploy stage.
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
......@@ -47,3 +53,5 @@ deploy-job: # This job runs in the deploy stage.
script:
- echo "Deploying application..."
- echo "Application successfully deployed."
tags:
- FPGA
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