Skip to content

Add workflow to test formulae #2

Add workflow to test formulae

Add workflow to test formulae #2

Workflow file for this run

name: Test formulae install
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
run-tests:
name: Test install / ${{ matrix.formula.name }}
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 }}