From 8adaeadc2ae5fc7fa66d92be88358dd61cbfe4ac Mon Sep 17 00:00:00 2001
From: Alan Munoz <alan.munoz@ed.ac.uk>
Date: Thu, 30 Dec 2021 18:43:10 +0000
Subject: [PATCH] try simpler gitlab-ci

---
 .gitlab-ci.yml | 34 ++++++++++------------------------
 1 file changed, 10 insertions(+), 24 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 803505f0..78ea3cde 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,32 +1,18 @@
 image: python:3.7
 
-stages:
-  - test
-  - lint
-  - types
-  - deploy
-
 before_script:
-  - pip install poetry
-  - poetry config virtualenvs.create false
+  - curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
+  - export PATH="$PATH:$HOME/.poetry/bin/"
+  - source $HOME/.poetry/env
   - poetry install
+  - source `poetry env info --path`/bin/activate
 
-Unit Tests:
-  stage: test
-  script:
-    - poetry run pytest
-
-Python Code Lint:
-  stage: lint
+build:
+  stage: build
   script:
-    - poetry run black .
+    - echo 123
 
-Static Type check:
-  stage: types
-  script:
-    - poetry run mypy .
-
-Deploy:
-  stage: deploy
+test:
+  stage: test
   script:
-    - echo "Insert deployment script here"
+    - echo 123
-- 
GitLab