From: Tomas Krizek Date: Mon, 12 Nov 2018 16:29:52 +0000 (+0100) Subject: pytests: execute tests in CI X-Git-Tag: v3.2.0~18^2~59 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9a904553c12593ac32e9380ebfa6b9516fc13005;p=thirdparty%2Fknot-resolver.git pytests: execute tests in CI --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 950e8da7b..9d42b419a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -280,6 +280,20 @@ pytests:lint: - linux - amd64 +pytests:run: + stage: test + dependencies: + - build:linux:amd64 + except: + - master + script: + - PATH="$PREFIX/sbin:$PATH" ./ci/pytests/run.sh + tags: + - docker + - linux + - amd64 + + .respdiff: &respdiff stage: respdiff dependencies: [] diff --git a/ci/pytests/run.sh b/ci/pytests/run.sh new file mode 100755 index 000000000..428542d57 --- /dev/null +++ b/ci/pytests/run.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +python3 -m pytest -n 16 tests/pytests