Files
factorio/test.sh
T

12 lines
411 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
set -euo pipefail
root=$(cd -- "$(dirname -- "$0")" && pwd)
cd "$root"
for script in ./*.sh scripts/*.sh; do bash -n "$script"; done
python3 -m unittest discover -s tests -v
./render.sh > /tmp/factorio-rendered.yaml
python3 tests/validate.py /tmp/factorio-rendered.yaml
2026-10-27 07:16:05 +01:00
helm lint .
if [[ ${FACTORIO_SMOKE_TEST:-false} == true ]]; then
python3 tests/smoke.py /tmp/factorio-rendered.yaml
fi