From de43301785bf7b9275bf0ba7521b64c0def8c197 Mon Sep 17 00:00:00 2001 From: boyska Date: Tue, 28 Sep 2021 23:56:27 +0200 Subject: [PATCH] gitlab-runner test --- .gitlab-ci.yml | 10 +++++++++- requirements.txt | 1 - 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e51fbad..35322c5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,9 +4,17 @@ stages: - static - test -static: +mypy: stage: static before_script: - pip install mypy script: - mypy techrec + +test: + stage: test + before_script: + - pip install nose + - pip install -r requirements.txt + script: + - nosetests diff --git a/requirements.txt b/requirements.txt index 228b3be..fab5f43 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,5 @@ fastapi==0.62.0 h11==0.11.0 pydantic==1.7.3 starlette==0.13.6 -techrec @ file:///home/gordo/my/ror/techrec typing-extensions==3.7.4.3 uvicorn==0.13.1