From 77c3daf07cbf21b1b2370ca1b843329dc928f9ca Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Tue, 7 Oct 2025 12:49:45 +0300 Subject: [PATCH] Migrate prod:test to standalone script --- mise.toml | 6 ------ scripts/prod/test | 11 +++++++++++ 2 files changed, 11 insertions(+), 6 deletions(-) create mode 100755 scripts/prod/test diff --git a/mise.toml b/mise.toml index e1b4e001..4cf55a09 100644 --- a/mise.toml +++ b/mise.toml @@ -14,12 +14,6 @@ gh = 'latest' [task_config] includes = ["scripts"] -# PRODUCTION - -[tasks."prod:test"] -description = 'Run HTTP tests against production' -run = 'hurl --test test/prod.hurl' - # DEVELOPMENT/TEST [tasks.test] diff --git a/scripts/prod/test b/scripts/prod/test new file mode 100755 index 00000000..fea99e7b --- /dev/null +++ b/scripts/prod/test @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +#MISE description="Run HTTP tests against production" + +set -e + +source "$(dirname "$0")/../_helpers.sh" + +ensure_working_directory! + +hurl --test test/prod.hurl