mirror of
https://github.com/juspay/services-flake.git
synced 2024-09-19 08:17:11 +03:00
10 lines
227 B
Bash
Executable File
10 lines
227 B
Bash
Executable File
set -euxo pipefail
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
# On NixOS, run the VM tests to test runtime behaviour
|
|
if command -v nixos-rebuild &> /dev/null; then
|
|
# service tests
|
|
nix flake check -L ./test --override-input services-flake .
|
|
fi
|