ci: simplify test
Remove obsolete features that were required for pkgsUnstable.
This commit is contained in:
parent
0fd3be5343
commit
26a53f0d59
2 changed files with 7 additions and 19 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue