From: Jacob Lifshay Date: Wed, 6 Jul 2022 03:24:07 +0000 (-0700) Subject: add .gitlab-ci.yml X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d48cb8c10a91fc858fe847d4b665cf79633c4b0;p=utils.git add .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