mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-02-08 00:03:15 +08:00
changed
This commit is contained in:
parent
ad8ab8ee8c
commit
1f0a52f3ae
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -73,17 +73,17 @@ jobs:
|
|||||||
testContainerName: tests-aimingmedai
|
testContainerName: tests-aimingmedai
|
||||||
# Pass test environment variables as JSON string
|
# Pass test environment variables as JSON string
|
||||||
testEnvs: >
|
testEnvs: >
|
||||||
[
|
'[
|
||||||
"FRONTEND_URL=http://frontend:80",
|
"FRONTEND_URL=http://frontend:80",
|
||||||
"BACKEND_URL=http://backend:80",
|
"BACKEND_URL=http://backend:80",
|
||||||
"ENVIRONMENT=dev",
|
"ENVIRONMENT=dev",
|
||||||
"TESTING=1",
|
"TESTING=1",
|
||||||
]
|
]'
|
||||||
# Pass test directories as JSON string
|
# Pass test directories as JSON string
|
||||||
tests: >
|
tests: >
|
||||||
[
|
'[
|
||||||
"tests/integration/backend",
|
"tests/integration/backend",
|
||||||
]
|
]'
|
||||||
# Pass image definitions for compose setup as JSON string
|
# Pass image definitions for compose setup as JSON string
|
||||||
# Sensitive values should be passed via secrets and referenced within the template
|
# Sensitive values should be passed via secrets and referenced within the template
|
||||||
images: >
|
images: >
|
||||||
|
|||||||
4
.github/workflows/template_test.yml
vendored
4
.github/workflows/template_test.yml
vendored
@ -147,8 +147,8 @@ jobs:
|
|||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
TEST_DIRS='${ inputs.tests }' # JSON string of test directories/commands
|
TEST_DIRS=${ inputs.tests } # JSON string of test directories/commands
|
||||||
TEST_ENVS_JSON='${ inputs.testEnvs }' # JSON string of environment variables
|
TEST_ENVS_JSON=${ inputs.testEnvs } # JSON string of environment variables
|
||||||
RESULTS_PATH="${{ inputs.testResultsPath }}"
|
RESULTS_PATH="${{ inputs.testResultsPath }}"
|
||||||
STAGING_DIR="${{ runner.temp }}/test-results" # Use runner temp dir for results
|
STAGING_DIR="${{ runner.temp }}/test-results" # Use runner temp dir for results
|
||||||
mkdir -p "$STAGING_DIR"
|
mkdir -p "$STAGING_DIR"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user