From 0472cee95a586f14ceb89e2153efa88aab925787 Mon Sep 17 00:00:00 2001 From: sk2521 <sun-jin.kim21@imperial.ac.uk> Date: Fri, 22 Apr 2022 10:15:33 +0000 Subject: [PATCH] Why is wheel acting so weird in during 'pip3 install -r requirements'? I added 'pip instal wheel' so that it installs before all the other ones --- .gitlab-ci.yml | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c7517b37..df6506e2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,19 +1,20 @@ -build-job: - stage: build - script: - - python3 -m venv venv - - . venv/bin/activate - - pip3 install -r requirements.txt --no-cache-dir - -test-job: - stage: test - script: - - pytest - -# deploy-job: -# stage: deploy -# script: - # - echo "Now I'm Deploying to VM!" - # - flask run & - # - echo "Now I'm Deploying to Heroku!" - # - dpl --provider=heroku --app=metarl --api-key=5ccc3ae7-725e-4f9f-b441-0c9a28ebdc1b +build-job: + stage: build + script: + - python3 -m venv venv + - . venv/bin/activate + - pip3 install wheel + - pip3 install -r requirements.txt --no-cache-dir + +test-job: + stage: test + script: + - pytest + +# deploy-job: +# stage: deploy +# script: + # - echo "Now I'm Deploying to VM!" + # - flask run & + # - echo "Now I'm Deploying to Heroku!" + # - dpl --provider=heroku --app=metarl --api-key=5ccc3ae7-725e-4f9f-b441-0c9a28ebdc1b -- GitLab