Update .gitlab-ci.yml file
This commit is contained in:
@@ -16,15 +16,15 @@
|
||||
# This specific template is located at:
|
||||
# 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
|
||||
- test
|
||||
|
||||
|
||||
pre-job:
|
||||
stage: .pre
|
||||
script:
|
||||
apt install python3 -y
|
||||
|
||||
test-job: # This job runs in the deploy stage.
|
||||
stage: test # It only runs when *both* jobs in the test stage complete successfully.
|
||||
environment: production
|
||||
|
||||
Reference in New Issue
Block a user