-
Notifications
You must be signed in to change notification settings - Fork 62
50 lines (42 loc) · 1.59 KB
/
check-boards.yaml
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
42
43
44
45
46
47
48
49
50
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
name: check-boards
jobs:
check-boards:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
# needed for modern board tests
PINS_AZURE_SAS: ${{ secrets.PINS_AZURE_SAS }}
PINS_AZURE_KEY: ${{ secrets.PINS_AZURE_KEY }}
PINS_AZURE_ACCOUNT: ${{ secrets.PINS_AZURE_ACCOUNT }}
PINS_AWS_ACCESS_KEY: ${{ secrets.PINS_AWS_ACCESS_KEY}}
PINS_AWS_SECRET_ACCESS_KEY: ${{ secrets.PINS_AWS_SECRET_ACCESS_KEY}}
PINS_GCS_PASSWORD: ${{ secrets.PINS_GCS_PASSWORD }}
DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }}
DATABRICKS_HOST: "https://rstudio-partner-posit-default.cloud.databricks.com"
PINS_DATABRICKS_FOLDER_URL: "/Volumes/workshops/models/vetiver"
# needed for legacy board tests
TEST_AWS_BUCKET: "pins-github-tests"
TEST_AWS_KEY: "AKIAWDFKE5M2ZHDUORMW"
TEST_AWS_REGION: "us-east-2"
TEST_AWS_SECRET: ${{ secrets.TEST_AWS_SECRET }}
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check
- uses: r-lib/actions/check-r-package@v2
with:
error-on: '"note"'
upload-snapshots: true