Skip to content

Commit

Permalink
Check which device is being used
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanwhite committed Jul 12, 2024
1 parent e8b8529 commit b2c0e4b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,17 @@ jobs:
with:
extra-packages: any::rcmdcheck
needs: check
- name: Install deepforestr
run: |
install.packages('deepforestr')
shell: Rscript {0}
- name: Check device
run: |
library(deepforestr)
model = df_model()
model$use_release()
model$device
shell: python {0}
- name: Install & check deepforestr
uses: r-lib/actions/check-r-package@v2
with:
Expand Down

0 comments on commit b2c0e4b

Please sign in to comment.