We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 736dd55 commit 7f53453Copy full SHA for 7f53453
.github/workflows/test.yml
@@ -24,6 +24,25 @@ jobs:
24
- name: Checkout
25
uses: actions/checkout@v3
26
27
+ - name: Brew Install
28
+ if: startsWith(matrix.os, 'macos')
29
+ run: |
30
+ # install system deps
31
+ brew update
32
+ brew install bash coreutils
33
+
34
+ # add GNU coreutils to the user PATH
35
+ # (see instructions in brew install output)
36
+ echo \
37
+ "$(brew --prefix)/opt/coreutils/libexec/gnubin" \
38
+ >> "${GITHUB_PATH}"
39
40
+ # add coreutils to the bashrc too (for jobs)
41
+ cat >> "${HOME}/.bashrc" <<__HERE__
42
+ PATH="$(brew --prefix)/opt/coreutils/libexec/gnubin:$PATH"
43
+ export PATH
44
+ __HERE__
45
46
- name: Setup Python
47
uses: actions/setup-python@v3
48
with:
0 commit comments