From 2141ab26a2ecce87e882054255dfcf4c2f59362e Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Mon, 21 Mar 2022 20:42:15 +0000 Subject: [PATCH] Reduce Gitlab testing to just the basic tests --- .gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4d6cd176..5f6d0deb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,7 +9,11 @@ linux: DOCKER_DRIVER: overlay2 # See https://github.com/docker-library/docker/pull/166 DOCKER_TLS_CERTDIR: "" + + # skip all but the basic tests + # (comment the below line in a PR to debug a Gitlab-specific issue) + PYTEST_ADDOPTS: -k "unit_test or test_0_basic" --suppress-no-test-exit-code script: - curl -sSL https://get.docker.com/ | sh - - python -m pip install -e ".[dev]" + - python -m pip install -e ".[dev]" pytest-custom-exit-code - python ./bin/run_tests.py