File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 2222 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2323 - uses : actions/checkout@v3
2424
25+ - name : Install dcmtk
26+ run : |
27+ sudo apt-get update
28+ sudo apt-get install -y dcmtk
29+
2530 - name : Start MONAI Deploy Express
2631 working-directory : ./deploy/monai-deploy-express
2732 run : |
4853 continue-on-error : true
4954 run : docker compose logs > logs.txt
5055
56+ - name : Run Hello World Workflow
57+ working-directory : ./deploy/monai-deploy-express
58+ run : |
59+ curl --request POST --header 'Content-Type: application/json' --data "@sample-workflows/hello-world.json" http://localhost:5001/workflows
60+
61+ - name : Download and Send Sample DICOM Data
62+ run : |
63+ curl -L -o sample.dcm "https://github.com/fo-dicom/fo-dicom/raw/refs/heads/development/Tests/FO-DICOM.Tests/Test%20Data/GH1146.dcm"
64+ storescu -v -aet ORTHANC -aec MONAI-DEPLOY localhost 104 sample.dcm
65+ sleep 10
66+
67+ - name : Verify Hello World Workflow Output
68+ run : |
69+ CONTAINER_ID=$(docker container list -a -n 1 -q)
70+ test 2 -eq $(docker logs $CONTAINER_ID | grep "1.3.6.1.4.1.23438.1.1.1.dcm") | wc -l)
71+ test 1 -eq $(docker logs $CONTAINER_ID | grep "1.3.6.1.4.1.23438.1.1.1.dcm.json") | wc -l)
72+
5173 - name : Stop MONAI Deploy Express
5274 working-directory : ./deploy/monai-deploy-express
5375 continue-on-error : true
You can’t perform that action at this time.
0 commit comments