Skip to content

Commit 47b4586

Browse files
allow to break brew, since pip is a recommened way to install this from upstream.
1 parent 1ebb914 commit 47b4586

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,14 @@ jobs:
5454
- name: Install system dependencies (brew)
5555
if: matrix.config.installation_method == 'brew'
5656
run: brew install pre-commit
57-
- name: Install system dependencies (pip)
58-
if: matrix.config.installation_method == 'pip'
57+
- name: Install system dependencies (pip, non-macOS)
58+
if: matrix.config.installation_method == 'pip' && matrix.config.os != 'macOS-latest'
5959
run: |
6060
pip3 install pre-commit --user
61+
- name: Install system dependencies (pip, macOS)
62+
if: matrix.config.installation_method == 'pip' && matrix.config.os == 'macOS-latest'
63+
run: |
64+
pip3 install pre-commit --user --break-system-packages
6165
- uses: r-lib/actions/setup-r-dependencies@v2
6266
- name: Remove reticulate for other installation methods
6367
run: |

0 commit comments

Comments
 (0)