mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-01-19 13:23:23 +08:00
check for errors log
This commit is contained in:
parent
7dc41ec69b
commit
a8bad1341e
7
.github/workflows/develop.yml
vendored
7
.github/workflows/develop.yml
vendored
@ -104,6 +104,8 @@ jobs:
|
||||
- name: Check disk space
|
||||
if: always()
|
||||
run: df -h
|
||||
- name: Validate Docker image
|
||||
run: docker inspect ${{ env.IMAGE }}:latest
|
||||
- name: Run container
|
||||
run: |
|
||||
docker run \
|
||||
@ -116,6 +118,11 @@ jobs:
|
||||
${{ env.IMAGE }}:latest
|
||||
- name: Monitor memory usage
|
||||
run: free -h
|
||||
- name: Test port accessibility
|
||||
run: curl -v http://localhost:8004 || echo "Service not reachable"
|
||||
- name: Get container logs
|
||||
if: failure()
|
||||
run: docker logs backend-backend
|
||||
# - name: Run Pytest directly
|
||||
# run: |
|
||||
# # install python 3.11 and pip3
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user