Skip to content

Update ci.yaml

Update ci.yaml #6

Workflow file for this run

name: R CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up R
uses: r-lib/actions/setup-r@v2
- name: Install dependencies
run: |
Rscript -e 'install.packages(c("ggplot2","shiny","dplyr","tidyr"))'
- name: Check R scripts
run: |
Rscript -e 'if(!file.exists("R-Marketing-Analysis/MarketingAnalysis.Rmd")) stop("Missing RMarkdown file")'
Rscript -e 'if(!file.exists("R-Shiny-MTCARS-Dashboard/app.R")) stop("Missing Shiny app")'