Skip to content

Commit 22cb667

Browse files
author
Kasper Peeters
committed
Add test to homebrew workflow.
1 parent 326f876 commit 22cb667

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/homebrew.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,19 @@ jobs:
6060
git add cadabra2.rb
6161
git commit -a -m "Update to release ${{ env.VERSION }}."
6262
git push
63+
64+
65+
test:
66+
needs: build
67+
runs-on: macos-latest
68+
69+
steps:
70+
- name: get dependencies
71+
run: brew tap kpeeters/repo && brew install cadabra2
72+
73+
- name: show where cadabra is located
74+
run: cat `which cadabra2`
75+
76+
- name: test simple cli run
77+
run: printf "ex:=(A+B) (C+D);\ndistribute(ex);\nquit()\n" > tst.cdb && cadabra2 tst.cdb
78+

0 commit comments

Comments
 (0)