Update .gitlab-ci.yml file
This commit is contained in:
@@ -16,15 +16,15 @@
|
|||||||
# This specific template is located at:
|
# This specific template is located at:
|
||||||
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml
|
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml
|
||||||
|
|
||||||
|
default:
|
||||||
|
image: python:3.11
|
||||||
|
before_script:
|
||||||
|
- pip3 install requests
|
||||||
|
|
||||||
stages: # List of stages for jobs, and their order of execution
|
stages: # List of stages for jobs, and their order of execution
|
||||||
- test
|
- test
|
||||||
|
|
||||||
|
|
||||||
pre-job:
|
|
||||||
stage: .pre
|
|
||||||
script:
|
|
||||||
apt install python3 -y
|
|
||||||
|
|
||||||
test-job: # This job runs in the deploy stage.
|
test-job: # This job runs in the deploy stage.
|
||||||
stage: test # It only runs when *both* jobs in the test stage complete successfully.
|
stage: test # It only runs when *both* jobs in the test stage complete successfully.
|
||||||
environment: production
|
environment: production
|
||||||
|
|||||||
Reference in New Issue
Block a user