Skip to content

Commit

Permalink
Try to test cadabra2-gtk.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasper Peeters committed Dec 19, 2024
1 parent 79a712d commit 0f36fa2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/homebrew-devel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,17 @@ 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 0f36fa2

Please sign in to comment.