From 2d48cb8c10a91fc858fe847d4b665cf79633c4b0 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Tue, 5 Jul 2022 20:24:07 -0700 Subject: [PATCH] add .gitlab-ci.yml --- .gitlab-ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..6d392ff --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,16 @@ +image: debian:10 + +build: + stage: build + before_script: + - apt-get update + # one package per line to simplify sorting, git diff, etc. + - >- + apt-get -y install --no-install-recommends + python3-pip + python3-setuptools + - export PATH="$HOME/.local/bin:$PATH" + - python3 -m pip install --user pytest-xdist + script: + - python3 setup.py develop + - pytest -v -n auto -- 2.30.2