From aa81b79099314eda55e5795df9111c688eb9d740 Mon Sep 17 00:00:00 2001 From: stephen cheng Date: Mon, 5 Aug 2024 03:13:10 +1000 Subject: [PATCH] Test bash exit code --- .github/workflows/feature-request.yml | 2 +- .github/workflows/go.yml | 2 +- funcs.rc | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/feature-request.yml b/.github/workflows/feature-request.yml index dcacb44..d43b2f8 100644 --- a/.github/workflows/feature-request.yml +++ b/.github/workflows/feature-request.yml @@ -1,4 +1,4 @@ -name: Go +name: Feature_Request_Tests on: push: diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5eda829..145c640 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,4 +1,4 @@ -name: Go +name: Github_Action_Test on: push: diff --git a/funcs.rc b/funcs.rc index 1b8244a..e8554c7 100644 --- a/funcs.rc +++ b/funcs.rc @@ -172,6 +172,7 @@ echo "syntax: feature_test_x testing_folder" goup ngo task -d ./tests/functests/${testing_folder} -t feature -i dev --configdir=./tests/functests else echo "Please input a feature test folder name" + exit -1 fi }