Merge pull request #7192 from issyl0/move-brew-man-before-brew-tests-in-ci

actions/tests: Run `brew style` and `brew man` before `brew tests`
This commit is contained in:
Mike McQuaid 2020-03-20 11:36:29 +00:00 committed by GitHub
commit 5acc758399
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,6 +78,12 @@ jobs:
sudo chmod -R g-w,o-w /home/linuxbrew /home/runner /opt sudo chmod -R g-w,o-w /home/linuxbrew /home/runner /opt
fi fi
- name: Run brew style
run: brew style --display-cop-names
- name: Run brew man
run: brew man --fail-if-changed
- name: Run brew tests - name: Run brew tests
run: | run: |
# brew tests doesn't like world writable directories # brew tests doesn't like world writable directories
@ -107,12 +113,6 @@ jobs:
# These cannot be queried at the macOS level on GitHub Actions. # These cannot be queried at the macOS level on GitHub Actions.
HOMEBREW_LANGUAGES: en-GB HOMEBREW_LANGUAGES: en-GB
- name: Run brew style
run: brew style --display-cop-names
- name: Run brew man
run: brew man --fail-if-changed
- name: Run brew update-tests - name: Run brew update-tests
run: | run: |
git config --global user.name "BrewTestBot" git config --global user.name "BrewTestBot"