diff --git a/contrib/teamcity/build-configurations.json b/contrib/teamcity/build-configurations.json --- a/contrib/teamcity/build-configurations.json +++ b/contrib/teamcity/build-configurations.json @@ -280,6 +280,10 @@ ], "timeout": 1800 }, + "check-buildbot": { + "script": "builds/check-buildbot.sh", + "timeout": 600 + }, "check-seeds": { "script": "builds/check-seeds.sh", "templates": [ diff --git a/contrib/teamcity/builds/check-buildbot.sh b/contrib/teamcity/builds/check-buildbot.sh new file mode 100755 --- /dev/null +++ b/contrib/teamcity/builds/check-buildbot.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +export LC_ALL=C.UTF-8 + +set -euxo pipefail + +# shellcheck source=../ci-fixture.sh +source "${TOPLEVEL}/contrib/teamcity/ci-fixture.sh" + +cd "${TOPLEVEL}"/contrib/buildbot/test + +pytest -v diff --git a/contrib/teamcity/setup-debian-buster.sh b/contrib/teamcity/setup-debian-buster.sh --- a/contrib/teamcity/setup-debian-buster.sh +++ b/contrib/teamcity/setup-debian-buster.sh @@ -123,6 +123,11 @@ pip3 install teamcity-messages # Python library for merging nested structures pip3 install deepmerge +# For running Python test suites +pip3 install pytest + +# Install Python dependencies for Python projects +pip3 install -r ../buildbot/requirements.txt # Install pandoc. The version from buster is outdated, so get a more recent one # from github.