Skip to content

Commit

Permalink
Add smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
eidelen authored Oct 12, 2024
1 parent 2971078 commit 2ec7c4a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/cppVTK9Dicom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ jobs:
run: cd build && make
- name: Run Test Simple
run: ./build/lib/runLibTests && ./build/dicom2mesh/runD2MTests
- name: Run Smoke Test Dicom2Mesh
run: |
if ./build/dicom2mesh/dicom2mesh -h | grep -q "How to use dicom2Mesh:"; then
echo "Smoke test passed: Application started successfully."
else
echo "Smoke test failed: Expected output not found."
exit 1
fi
- name: Clean
run: rm -rf build
Expand Down

0 comments on commit 2ec7c4a

Please sign in to comment.