-
Notifications
You must be signed in to change notification settings - Fork 19
55 lines (41 loc) · 1.2 KB
/
ci.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
51
52
53
54
55
# Run CI for R using https://eddelbuettel.github.io/r-ci/
name: ci
on:
push:
pull_request:
env:
_R_CHECK_FORCE_SUGGESTS_: "false"
# setting this one below in the steps did not work
TOKENFILE_PASSWORD: ${{ secrets.TOKENFILE_PASSWORD }}
# explicit opt-in: turn tests on (just to make sure by browser extension gets spammed ...)
Run_RPushbullet_Tests: "yes"
jobs:
ci:
strategy:
matrix:
include:
#- {os: macOS-latest}
- {os: ubuntu-latest}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: eddelbuettel/github-actions/r-ci-setup@master
- name: Bootstrap
run: ./run.sh bootstrap
- name: Dependencies
run: ./run.sh install_deps
#- name: Environment
# shell: bash
# run: env | cut -d= -f1 | sort
- name: Decrypt token file
shell: bash
run: ./.github/scripts/decrypt_tokenfile.sh
#- name: Check token
# run: md5sum .rpushbullet.json
- name: Test
run: ./run.sh run_tests
#- name: Coverage
# if: ${{ matrix.os == 'ubuntu-latest' }}
# run: ./run.sh coverage