#!/usr/bin/env bash set -e # Param: suite ($1) - the test folder to discover, tests/unit or tests/integration. suite="$1" git config --global --add safe.directory /opt/src/pkgmgr || true nix develop .#default --no-write-lock-file -c \ python3 -m unittest discover \ -s "$suite" \ -t /opt/src/pkgmgr \ -p "$TEST_PATTERN"