mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-01-19 13:23:23 +08:00
try with inputs.tests
This commit is contained in:
parent
9a1bc2f89d
commit
eecd552966
4
.github/workflows/template_test.yml
vendored
4
.github/workflows/template_test.yml
vendored
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user