Skip to content

Add GitHub Action and badge #4

Add GitHub Action and badge

Add GitHub Action and badge #4

Workflow file for this run

on:
pull_request:
branches:
- main
- portage
name: Check Portage data workflow
jobs:
render:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
strategy:
fail-fast: false
matrix:
config:
- {os: ubuntu-latest, r: release}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-pandoc@v2
- name: Install any needed packages
run: |
install.packages(c("dplyr", "tidyr", "remotes" "readr", "lubridate"))
remotes::install_github('COMPASS-DOE/compasstools')
shell: Rscript {0}
- name: Check workflow
run: |
cd portage/
Rscript --verbose ./driver.R