mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-02-01 20:23:34 +08:00
Merge pull request #68 from aimingmed/feature/backend-frontend-structure
Feature/backend frontend structure
This commit is contained in:
commit
89584dbce7
14
.github/workflows/template_test.yml
vendored
14
.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)
|
||||
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
|
||||
run: |
|
||||
echo "Waiting 60 seconds for services to initialize..."
|
||||
@ -232,13 +238,7 @@ jobs:
|
||||
name: JUnit Test Report
|
||||
path: ${{ runner.temp }}/${{ inputs.testResultsFilename }} # Path to the JUnit XML file
|
||||
reporter: java-junit # Specify the format
|
||||
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
|
||||
token: ${{ secrets.repo_test_1 }}
|
||||
|
||||
- name: Docker Compose Down
|
||||
if: always() # Always run cleanup
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user