From ff3dd3f4c63075f48e5dfbeb2471e82278f354a9 Mon Sep 17 00:00:00 2001 From: Slava Date: Sat, 26 Aug 2023 19:16:40 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e187dda..8f4c7df 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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