Update .gitlab-ci.yml file

This commit is contained in:
Slava
2023-08-26 19:16:40 +00:00
parent e23f9a1bac
commit ff3dd3f4c6

View File

@@ -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