Files
feedc0de d1978abb05
Test and deploy Factorio / validate (push) Failing after 12s
Test and deploy Factorio / deploy (push) Skipped
Deploy achievement-safe Factorio 2.0.77 with strict placement, monitoring and limited CD
2026-10-17 13:50:19 +02:00

12 lines
399 B
Bash
Executable File

#!/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
if [[ ${FACTORIO_SMOKE_TEST:-false} == true ]]; then
python3 tests/smoke.py /tmp/factorio-rendered.yaml
fi