add .gitlab-ci.yml
authorJacob Lifshay <programmerjake@gmail.com>
Wed, 6 Jul 2022 03:24:07 +0000 (20:24 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Wed, 6 Jul 2022 03:24:07 +0000 (20:24 -0700)
.gitlab-ci.yml [new file with mode: 0644]

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644 (file)
index 0000000..6d392ff
--- /dev/null
@@ -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