From eecd552966b14c6c2673448cabf2d135a5606b2e Mon Sep 17 00:00:00 2001 From: leehk Date: Wed, 16 Apr 2025 21:30:15 +0800 Subject: [PATCH] try with inputs.tests --- .github/workflows/template_test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/template_test.yml b/.github/workflows/template_test.yml index 7683154..1ffb473 100644 --- a/.github/workflows/template_test.yml +++ b/.github/workflows/template_test.yml @@ -152,8 +152,8 @@ jobs: - name: Run Tests shell: bash run: | - TEST_DIRS='["tests/integration/backend"]' - TEST_ENVS_JSON='["FRONTEND_URL=http://frontend:80","BACKEND_URL=http://backend:80","ENVIRONMENT=dev","TESTING=1"]' + TEST_DIRS='${{ inputs.tests }}' # Get JSON array string + TEST_ENVS_JSON='${{ inputs.testEnvs }}' # Get JSON array string RESULTS_PATH="${{ inputs.testResultsPath }}" STAGING_DIR="${{ runner.temp }}/test-results" # Use runner temp dir for results mkdir -p "$STAGING_DIR"