Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 16 additions & 19 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,19 @@ on:
pull_request:
branches: [master]

env:
HOMEBREW_DEVELOPER: 1

jobs:
pacaptr:
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- if: startsWith(${{ matrix.os }}, "ubuntu")
run: echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH
- name: Test install
run: |
brew install Formula/pacaptr.rb
HOMEBREW_DEVELOPER=1 brew install Formula/pacaptr.rb
pacaptr --help

pacaptr-head:
Expand All @@ -32,13 +29,13 @@ jobs:
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- if: startsWith(${{ matrix.os }}, "ubuntu")
run: echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH
- name: Test install
run: |
brew update
brew install Formula/pacaptr.rb --HEAD
HOMEBREW_DEVELOPER=1 brew install Formula/pacaptr.rb --HEAD
pacaptr --help

alire:
Expand All @@ -47,12 +44,12 @@ jobs:
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- if: startsWith(${{ matrix.os }}, "ubuntu")
run: echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH
- name: Test install
run: |
brew install Formula/alire.rb
HOMEBREW_DEVELOPER=1 brew install Formula/alire.rb
alr help | grep USAGE

ting:
Expand All @@ -61,46 +58,46 @@ jobs:
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- if: startsWith(${{ matrix.os }}, "ubuntu")
run: echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH
- name: Test install
run: |
brew install Formula/ting.rb
HOMEBREW_DEVELOPER=1 brew install Formula/ting.rb
ting --help

clavy:
runs-on: macos-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: Test install
run: |
brew install Formula/clavy.rb
HOMEBREW_DEVELOPER=1 brew install Formula/clavy.rb
clavy --help

clavy-head:
runs-on: macos-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: Test install
run: |
brew update
brew install Formula/clavy.rb --HEAD
HOMEBREW_DEVELOPER=1 brew install Formula/clavy.rb --HEAD
clavy --help

ouverture:
runs-on: macos-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: Test install
run: |
brew install Formula/ouverture.rb
HOMEBREW_DEVELOPER=1 brew install Formula/ouverture.rb
ovt

casks:
runs-on: macos-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: Test install
run: |
brew install Casks/*.rb
HOMEBREW_DEVELOPER=1 brew install Casks/*.rb
Loading