tests.yml: minor tweaks
This commit is contained in:
parent
3e5ff1ff90
commit
f6463c5a33
22
.github/workflows/tests.yml
vendored
22
.github/workflows/tests.yml
vendored
@ -12,7 +12,9 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macOS-latest]
|
config:
|
||||||
|
- {os: ubuntu-latest, core-tap: 'linuxbrew-core'}
|
||||||
|
- {os: macOS-latest, core-tap: 'homebrew-core'}
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Homebrew
|
- name: Set up Homebrew
|
||||||
id: set-up-homebrew
|
id: set-up-homebrew
|
||||||
@ -23,14 +25,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
username: BrewTestBot
|
username: BrewTestBot
|
||||||
|
|
||||||
- name: Run brew test-bot --only-cleanup-before
|
- run: brew test-bot --only-cleanup-before
|
||||||
run: brew test-bot --only-cleanup-before
|
- run: brew config
|
||||||
|
- run: brew doctor
|
||||||
- name: Run brew config
|
|
||||||
run: brew config
|
|
||||||
|
|
||||||
- name: Run brew doctor
|
|
||||||
run: brew doctor
|
|
||||||
|
|
||||||
- name: Cache Bundler RubyGems
|
- name: Cache Bundler RubyGems
|
||||||
id: cache
|
id: cache
|
||||||
@ -99,12 +96,7 @@ jobs:
|
|||||||
- name: Run brew readall on all taps
|
- name: Run brew readall on all taps
|
||||||
run: brew readall --aliases
|
run: brew readall --aliases
|
||||||
|
|
||||||
- name: Run brew style on homebrew-core
|
- name: Run brew style on ${{ matrix.core-tap }}
|
||||||
if: matrix.os == 'macOS-latest'
|
|
||||||
run: brew style --display-cop-names homebrew/core
|
|
||||||
|
|
||||||
- name: Run brew style on linuxbrew-core
|
|
||||||
if: matrix.os == 'ubuntu-latest'
|
|
||||||
run: brew style --display-cop-names homebrew/core
|
run: brew style --display-cop-names homebrew/core
|
||||||
|
|
||||||
- name: Run brew style on official taps
|
- name: Run brew style on official taps
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user