mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-02-08 08:13:20 +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
|
- name: Check disk space
|
||||||
if: always()
|
if: always()
|
||||||
run: df -h
|
run: df -h
|
||||||
|
- name: Validate Docker image
|
||||||
|
run: docker inspect ${{ env.IMAGE }}:latest
|
||||||
- name: Run container
|
- name: Run container
|
||||||
run: |
|
run: |
|
||||||
docker run \
|
docker run \
|
||||||
@ -116,6 +118,11 @@ jobs:
|
|||||||
${{ env.IMAGE }}:latest
|
${{ env.IMAGE }}:latest
|
||||||
- name: Monitor memory usage
|
- name: Monitor memory usage
|
||||||
run: free -h
|
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
|
# - name: Run Pytest directly
|
||||||
# run: |
|
# run: |
|
||||||
# # install python 3.11 and pip3
|
# # install python 3.11 and pip3
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user