File tree Expand file tree Collapse file tree 2 files changed +67
-0
lines changed
Expand file tree Collapse file tree 2 files changed +67
-0
lines changed Original file line number Diff line number Diff line change 1+ # Run CI for R using https://eddelbuettel.github.io/r-ci/
2+
3+ name : ci
4+
5+ on :
6+ push :
7+ pull_request :
8+
9+ env :
10+ USE_BSPM : " true"
11+ _R_CHECK_FORCE_SUGGESTS_ : " false"
12+
13+ jobs :
14+ ci :
15+ runs-on : ubuntu-latest
16+ strategy :
17+ matrix :
18+ include :
19+ - name : release
20+ cntr : rcpp/ci
21+ r : R
22+ - name : r-3.6
23+ cntr : rcpp/ci-3.6
24+ r : R
25+ - name : r-3.5
26+ cntr : rcpp/ci-3.5
27+ r : R
28+ - name : dev
29+ cntr : rcpp/ci-dev
30+ r : RD
31+
32+ steps :
33+ - uses : actions/checkout@v2
34+
35+ # - name: Bootstrap
36+ # run: |
37+ # curl -OLs https://eddelbuettel.github.io/r-ci/run.sh
38+ # chmod 0755 run.sh
39+ # ./run.sh bootstrap
40+
41+ - name : Container
42+ run : docker pull ${{ matrix.cntr }}
43+
44+ - name : SessionInfo
45+ run : docker run --rm -i -v ${PWD}:/mnt -w /mnt ${{ matrix.cntr }} ${{ matrix.r }} -q -e 'sessionInfo()'
46+
47+ - name : Build
48+ run : docker run --rm -i -v ${PWD}:/mnt -w /mnt ${{ matrix.cntr }} ${{matrix.r }} CMD build --no-build-vignettes --no-manual .
49+
50+ - name : Check
51+ run : docker run --rm -i -v ${PWD}:/mnt -w /mnt ${{ matrix.cntr }} ${{ matrix.r }} CMD check --no-vignettes --no-manual Rcpp_*.tar.gz
52+
53+ covr :
54+ runs-on : ubuntu-latest
55+ steps :
56+ - name : Checkout Project
57+ uses : actions/checkout@v1
58+
59+ - name : Container
60+ run : docker pull rcpp/ci
61+
62+ - name : Coverage
63+ run : docker run --rm -i -v ${PWD}:/mnt -w /mnt -e CODECOV_TOKEN=${{secrets.CODECOV_TOKEN }} rcpp/ci r -l covr -e 'codecov()'
Original file line number Diff line number Diff line change 1+ 2020-12-16 Dirk Eddelbuettel <
[email protected] >
2+
3+ * .github/workflows/ci.yaml: Add container-based CI runner
4+
152020-11-06 Dirk Eddelbuettel <
[email protected] >
26
37 * DESCRIPTION: More URL updates, e.g. http -> https
You can’t perform that action at this time.
0 commit comments