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