-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (38 loc) · 1.07 KB
/
test-macos.yml
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
33
34
35
36
37
38
39
40
41
# macOS Check
# Since macOS isn't currently working with the build in conda build try an isolated conda build
on:
push:
branches:
- main
pull_request:
branches:
- main
name: MacOS Check
jobs:
R-CMD-check:
strategy:
fail-fast: false
runs-on: macos-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
CRAN_REPO: https://packagemanager.rstudio.com/all/__linux__/focal/latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
- name: Setup R
uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- name: Install DeepForest
run: pip install deepforest
- name: Install R dependencies
uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check
- name: Install & check deepforestr
uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'