mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-02-08 16:37:29 +08:00
update
This commit is contained in:
parent
d323026f75
commit
568c9c52c2
11
.github/workflows/template_test.yml
vendored
11
.github/workflows/template_test.yml
vendored
@ -95,10 +95,9 @@ jobs:
|
|||||||
|
|
||||||
# Generate services Section Based on Images inputs
|
# Generate services Section Based on Images inputs
|
||||||
foreach ($img in $images) {
|
foreach ($img in $images) {
|
||||||
$serviceName = $img.name
|
$serviceName = $img.name
|
||||||
$svc = @{}
|
$svc = @{}
|
||||||
$svc.container_name = $serviceName
|
$svc.image = "${{ steps.tags.outputs.image_repo_path }}/$($serviceName):${{ env.TAG }}" # Use run_id tag
|
||||||
$svc.image = "${{ steps.tags.outputs.image_repo_path }}/$($serviceName):${{ env.TAG }}" # Use run_id tag
|
|
||||||
|
|
||||||
if ($img.depends_on) {
|
if ($img.depends_on) {
|
||||||
$svc.depends_on = $img.depends_on
|
$svc.depends_on = $img.depends_on
|
||||||
@ -147,8 +146,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='["tests/integration/backend"]'
|
||||||
TEST_ENVS_JSON=${{ inputs.testEnvs }} # JSON string of environment variables
|
TEST_ENVS_JSON='["FRONTEND_URL=http://frontend:80","BACKEND_URL=http://backend:80","ENVIRONMENT=dev","TESTING=1"]'
|
||||||
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