ci: simplify test

Remove obsolete features that were required for pkgsUnstable.
This commit is contained in:
Erik Arvstedt
2021-12-10 14:07:56 +01:00
parent 0fd3be5343
commit 26a53f0d59
2 changed files with 7 additions and 19 deletions

View File

@@ -7,9 +7,7 @@
set -euo pipefail
scenario=${scenario:-}
if [[ -v CIRRUS_CI && $scenario ]]; then
if [[ -v CIRRUS_CI ]]; then
if [[ ! -e /dev/kvm ]]; then
>&2 echo "No KVM available on VM host."
exit 1
@@ -20,10 +18,4 @@ fi
echo "$NIX_PATH ($(nix eval --raw nixpkgs.lib.version))"
if [[ $scenario ]]; then
testArgs="--scenario $scenario"
else
testArgs=pkgsUnstable
fi
"${BASH_SOURCE[0]%/*}/../run-tests.sh" --ci --scenario $scenario