forked from apache/yetus-homebrew
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (28 loc) · 1017 Bytes
/
testing.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# This workflow file generates binaries for both Windows
# and OS X. However, https://github.com/actions/upload-artifact/issues/38
# that basically says that it won't ever preserve permissions.
# That means an archive in an archive since we need to preserve them
# on OS X. Still... better than doing this all by hand.
---
name: homebrew-test
on: [push] # yamllint disable-line rule:truthy
jobs:
testing-macos:
runs-on: macos-11
steps:
# This step is necessary because one of our dependencies
# conflicts with the Github image .
- name: install homebrew go
shell: bash
run: |
brew unlink go || true
brew install go || true
brew link --overwrite go || true
- name: checkout
uses: actions/checkout@v4
- name: tests
shell: bash
run: |
brew tap apache/yetus file://$(pwd)
brew install yetus --with-all --overwrite
test-patch --empty-patch --build-tool=nobuild --plugins=all