Skip to content

Commit

Permalink
allow to break brew, since pip is a recommened way to install this fr…
Browse files Browse the repository at this point in the history
…om upstream.
  • Loading branch information
lorenzwalthert committed Sep 15, 2024
1 parent 1ebb914 commit 2786500
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,14 @@ jobs:
- name: Install system dependencies (brew)
if: matrix.config.installation_method == 'brew'
run: brew install pre-commit
- name: Install system dependencies (pip)
if: matrix.config.installation_method == 'pip'
- name: Install system dependencies (pip, non-macOS)
if: matrix.config.installation_method == 'pip' && && matrix.config.os != 'macOS-latest'
run: |
pip3 install pre-commit --user
- name: Install system dependencies (pip, macOS)
if: matrix.config.installation_method == 'pip' && matrix.config.os == 'macOS-latest'
run: |
pip3 install pre-commit --user --break-system-packages
- uses: r-lib/actions/setup-r-dependencies@v2
- name: Remove reticulate for other installation methods
run: |
Expand Down

0 comments on commit 2786500

Please sign in to comment.