Skip to content

Update README.Rmd

Update README.Rmd #21

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
#
# See https://github.com/r-lib/actions/tree/master/examples#readme for
# additional example workflows available for the R community.
name: R CI
on: [push, pull_request]
env:
REPO: gvegayon/rgexf
jobs:
build:
runs-on: Ubuntu-latest
strategy:
matrix:
include:
- name: release
cmd : R
cntr: ${REPO}:latest
steps:
- uses: actions/checkout@v2
- name: Container
run: docker pull ${{ matrix.cntr }}
- name: SessionInfo
run: docker run --rm -i -v ${PWD}:/mnt -w /mnt ${{ matrix.cntr }} ${{ matrix.cmd }} -q -e 'sessionInfo()'
- name: Build
run: docker run --rm -i -v ${PWD}:/mnt -w /mnt ${{ matrix.cntr }} ${{ matrix.cmd }} CMD build --no-build-vignettes --no-manual .
- name: Check
run: docker run --rm -i -v ${PWD}:/mnt -w /mnt -e CI=true ${{ matrix.cntr }} ${{ matrix.cmd }} CMD check --no-vignettes --no-manual rgexf_*.tar.gz