mirror of
https://github.com/NixOS/nix.git
synced 2024-10-29 21:30:51 +00:00
28 lines
405 B
Bash
Executable File
28 lines
405 B
Bash
Executable File
#! /usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
echo "Nix version:"
|
|
nix --version
|
|
|
|
cd flake-regressions
|
|
|
|
status=0
|
|
|
|
flakes=$(find tests -mindepth 3 -maxdepth 3 -type d -not -path '*/.*' | sort | head -n25)
|
|
|
|
echo "Running flake tests..."
|
|
|
|
for flake in $flakes; do
|
|
|
|
if ! REGENERATE=0 ./eval-flake.sh "$flake"; then
|
|
status=1
|
|
echo "❌ $flake"
|
|
else
|
|
echo "✅ $flake"
|
|
fi
|
|
|
|
done
|
|
|
|
exit "$status"
|