Skip to content

Commit 916574d

Browse files
committed
add covr
1 parent 22fe38e commit 916574d

File tree

1 file changed

+21
-8
lines changed

1 file changed

+21
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,32 @@ jobs:
3232
steps:
3333
- uses: actions/checkout@v2
3434

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
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
4040

4141
- name: Container
42-
run: |
43-
docker pull ${{ matrix.cntr }}
44-
docker run --rm -i -v ${PWD}:/mnt -w /mnt ${{ matrix.cntr }} ${{ matrix.r }} -q -e 'sessionInfo()'
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()'
4546

4647
- name: Build
4748
run: docker run --rm -i -v ${PWD}:/mnt -w /mnt ${{ matrix.cntr }} ${{matrix.r }} CMD build --no-build-vignettes --no-manual .
4849

4950
- name: Check
5051
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()'

0 commit comments

Comments
 (0)