Files
Bubberstation/tools/ci/run_server.sh
GoldenAlpharex fdb3651095 Screenshot tests (#67679) (#14269)
Adds screenshot visual testing workflow and scripts.

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2022-06-17 00:33:25 +01:00

27 lines
471 B
Bash

#!/bin/bash
set -euo pipefail
MAP=$1
echo Testing $MAP
tools/deploy.sh ci_test
mkdir ci_test/config
mkdir ci_test/data
#test config
cp tools/ci/ci_config.txt ci_test/config/config.txt
#set the map
cp _maps/$MAP.json ci_test/data/next_map.json
cd ci_test
DreamDaemon tgstation.dmb -close -trusted -verbose -params "log-directory=ci"
cd ..
mkdir -p data/screenshots_new
cp -r ci_test/data/screenshots_new data/screenshots_new
cat ci_test/data/logs/ci/clean_run.lk