From a6e26f472cb7302e9589ab1e268ad6dbb51893eb Mon Sep 17 00:00:00 2001 From: Tom McLean Date: Tue, 25 Jul 2023 18:01:56 +0100 Subject: [PATCH] feat: Adding scripts without docker --- scripts/run-fuzz-test.sh | 3 +++ scripts/run-integration-test.sh | 9 +++++++++ scripts/run-plot-gen.sh | 3 +++ 3 files changed, 15 insertions(+) create mode 100755 scripts/run-fuzz-test.sh create mode 100755 scripts/run-integration-test.sh create mode 100755 scripts/run-plot-gen.sh diff --git a/scripts/run-fuzz-test.sh b/scripts/run-fuzz-test.sh new file mode 100755 index 000000000..686de7bc0 --- /dev/null +++ b/scripts/run-fuzz-test.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +python -m vega_sim.scenario.fuzzed_markets.run_fuzz_test --steps $1 diff --git a/scripts/run-integration-test.sh b/scripts/run-integration-test.sh new file mode 100755 index 000000000..2f52d961f --- /dev/null +++ b/scripts/run-integration-test.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +set -e + +WORK_DIR="$(realpath "$(dirname "$0")/..")" +RESULT_DIR="${WORK_DIR}/test_logs/$(date '+%F_%H%M%S')-integration" +mkdir -p "${RESULT_DIR}" + +pytest -s -v -m integration --junitxml ${RESULT_DIR}/integration-test-results.xml --log-cli-level INFO diff --git a/scripts/run-plot-gen.sh b/scripts/run-plot-gen.sh new file mode 100755 index 000000000..2eb52ade1 --- /dev/null +++ b/scripts/run-plot-gen.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +python -m tests.integration.test_plot_gen