Skip to content

Commit

Permalink
Add workflow to test formulae
Browse files Browse the repository at this point in the history
  • Loading branch information
Deuchnord committed Apr 29, 2024
1 parent af94671 commit bd43df6
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test-formulae.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Test formulae install

on:
push:
branches: [main]

pull_request:
branches: [main]

jobs:
run-tests:
name: Test installing ${{ matrix.formula }}
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
formula:
- name: "kosmorro"
test: "kosmorro --version"

steps:
- uses: actions/checkout@v4
- name: Add tap
run: |
brew tap kosmorro/tap
- name: Install `${{ matrix.formula.name }}` formula
run: |
brew install ${{ matrix.formula.name }}
- name: Test that the program is working
run: |
${{ matrix.formula.test }}

0 comments on commit bd43df6

Please sign in to comment.