File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2
+ # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3
+ on :
4
+ workflow_dispatch :
5
+
6
+ name : R Devel CRAN Checks and Unit Tests
7
+
8
+ jobs :
9
+ testing :
10
+ name : test-r
11
+ runs-on : ${{ matrix.os }}
12
+
13
+ strategy :
14
+ fail-fast : false
15
+ matrix :
16
+ os : [ubuntu-latest, windows-latest, macos-latest]
17
+
18
+ steps :
19
+ - uses : actions/checkout@v4
20
+ with :
21
+ submodules : ' recursive'
22
+
23
+ - uses : r-lib/actions/setup-pandoc@v2
24
+
25
+ - uses : r-lib/actions/setup-r@v2
26
+ with :
27
+ r-version : ' devel'
28
+ use-public-rspm : true
29
+
30
+ - uses : r-lib/actions/setup-r-dependencies@v2
31
+ with :
32
+ extra-packages : any::testthat, any::decor, any::rcmdcheck
33
+ needs : check
34
+
35
+ - name : Create a CRAN-ready version of the R package
36
+ run : |
37
+ Rscript cran-bootstrap.R 0 0 1
38
+
39
+ - uses : r-lib/actions/check-r-package@v2
40
+ with :
41
+ working-directory : ' stochtree_cran'
You can’t perform that action at this time.
0 commit comments