Skip to content

Commit

Permalink
Add test to homebrew production build.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasper Peeters committed Dec 22, 2024
1 parent c071431 commit cb26964
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/homebrew.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,18 @@ jobs:
- name: test simple cli run
run: printf "ex:=(A+B) (C+D);\ndistribute(ex);\nquit()\n" > tst.cdb && cadabra2 tst.cdb

- name: test gtk app launch
run: |
cadabra2-gtk &
APP_PID=$!
sleep 10
if kill -0 $APP_PID 2>/dev/null; then
echo "Application started successfully"
kill $APP_PID
exit 0
else
echo "Application failed to start"
exit 1
fi

0 comments on commit cb26964

Please sign in to comment.