Merge pull request #8313 from maxim-belkin/gh-tests-tweaks

tests.yml: minor tweaks
This commit is contained in:
Mike McQuaid 2020-08-13 11:46:43 +01:00 committed by GitHub
commit 117cba9126
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,11 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
include:
- os: ubuntu-latest
core-tap: 'linuxbrew-core'
- os: macOS-latest
core-tap: 'homebrew-core'
steps:
- name: Set up Homebrew
id: set-up-homebrew
@ -23,14 +28,11 @@ jobs:
with:
username: BrewTestBot
- name: Run brew test-bot --only-cleanup-before
run: brew test-bot --only-cleanup-before
- run: brew test-bot --only-cleanup-before
- name: Run brew config
run: brew config
- run: brew config
- name: Run brew doctor
run: brew doctor
- run: brew doctor
- name: Cache Bundler RubyGems
id: cache
@ -99,12 +101,7 @@ jobs:
- name: Run brew readall on all taps
run: brew readall --aliases
- name: Run brew style on homebrew-core
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'
- name: Run brew style on ${{ matrix.core-tap }}
run: brew style --display-cop-names homebrew/core
- name: Run brew style on official taps