From 7cdb0c628c84797ac81eed9279122d0fe92012d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20L=C3=B6fgren?= <victor.l0fgr3n@gmail.com> Date: Tue, 16 Feb 2021 11:47:42 +0100 Subject: [PATCH] #3: Test server test pipline --- .gitignore | 3 ++- .gitlab-ci.yaml | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .gitlab-ci.yaml diff --git a/.gitignore b/.gitignore index 0d14ca4d..9f28e5cb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ __pycache__ *.db */env -*.coverage \ No newline at end of file +*.coverage +.pytest_cache \ No newline at end of file diff --git a/.gitlab-ci.yaml b/.gitlab-ci.yaml new file mode 100644 index 00000000..ef8f519f --- /dev/null +++ b/.gitlab-ci.yaml @@ -0,0 +1,8 @@ +stages: + - test + +test-server: + stage: test + script: + - cd server/ + - pytest --cov app test/ -- GitLab