Skip to content

Add GitHub Action and badge #6

Add GitHub Action and badge

Add GitHub Action and badge #6

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
- uses: quarto-dev/quarto-actions/setup@v2
- name: Install needed packages
run: |
install.packages(c("dplyr", "tidyr", "remotes", "readr", "lubridate", "quarto"))
remotes::install_github("COMPASS-DOE/compasstools")
shell: Rscript {0}
- name: Check workflow
run: |
cd portage/
Rscript --verbose ./driver.R