mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-02-08 00:03:15 +08:00
update
This commit is contained in:
parent
5edb12c96d
commit
68c32bdbfb
12
.github/workflows/template_test.yml
vendored
12
.github/workflows/template_test.yml
vendored
@ -140,6 +140,12 @@ jobs:
|
|||||||
cat "${{ steps.create_compose.outputs.COMPOSE_FILE_PATH }}" # Print generated compose file (check secrets aren't exposed if public)
|
cat "${{ steps.create_compose.outputs.COMPOSE_FILE_PATH }}" # Print generated compose file (check secrets aren't exposed if public)
|
||||||
docker compose -f "${{ steps.create_compose.outputs.COMPOSE_FILE_PATH }}" up -d
|
docker compose -f "${{ steps.create_compose.outputs.COMPOSE_FILE_PATH }}" up -d
|
||||||
|
|
||||||
|
- name: Print Service Logs on Failure or Success
|
||||||
|
if: always() # Always run this step
|
||||||
|
run: |
|
||||||
|
echo "Printing final logs from Docker Compose services..."
|
||||||
|
docker compose -f "${{ steps.create_compose.outputs.COMPOSE_FILE_PATH }}" logs
|
||||||
|
|
||||||
- name: Wait for Services
|
- name: Wait for Services
|
||||||
run: |
|
run: |
|
||||||
echo "Waiting 60 seconds for services to initialize..."
|
echo "Waiting 60 seconds for services to initialize..."
|
||||||
@ -234,12 +240,6 @@ jobs:
|
|||||||
reporter: java-junit # Specify the format
|
reporter: java-junit # Specify the format
|
||||||
token: ${{ secrets.TEST-REPORT }}
|
token: ${{ secrets.TEST-REPORT }}
|
||||||
|
|
||||||
- name: Print Service Logs on Failure or Success
|
|
||||||
if: always() # Always run this step
|
|
||||||
run: |
|
|
||||||
echo "Printing final logs from Docker Compose services..."
|
|
||||||
docker compose -f "${{ steps.create_compose.outputs.COMPOSE_FILE_PATH }}" logs
|
|
||||||
|
|
||||||
- name: Docker Compose Down
|
- name: Docker Compose Down
|
||||||
if: always() # Always run cleanup
|
if: always() # Always run cleanup
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user