Skip to content

Commit

Permalink
Add test to homebrew workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasper Peeters committed Dec 16, 2024
1 parent 326f876 commit 22cb667
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/homebrew.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,19 @@ jobs:
git add cadabra2.rb
git commit -a -m "Update to release ${{ env.VERSION }}."
git push
test:
needs: build
runs-on: macos-latest

steps:
- name: get dependencies
run: brew tap kpeeters/repo && brew install cadabra2

- name: show where cadabra is located
run: cat `which cadabra2`

- name: test simple cli run
run: printf "ex:=(A+B) (C+D);\ndistribute(ex);\nquit()\n" > tst.cdb && cadabra2 tst.cdb

0 comments on commit 22cb667

Please sign in to comment.