Skip to content

Commit

Permalink
Simplified test_import.yml for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
smeylan authored Aug 30, 2024
1 parent 9bc41ad commit b518663
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions .github/workflows/test_import.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,10 @@ jobs:

- uses: r-lib/actions/setup-pandoc@v1

- name: Query dependencies
run: |
install.packages('remotes')
saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2)
writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version")
shell: Rscript {0}

- name: Restore R package cache
uses: actions/cache@v2
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-

- name: Install dependencies
run: |
remotes::install_deps(dependencies = TRUE)
install.packages("pkgdown", type = "binary")
shell: Rscript {0}
install.packages('remotes')
remotes::install_github("langcog/peekbankr", force=T)
- name: Run pipeline
run: R helper_functions/pipeline.R
Expand Down

0 comments on commit b518663

Please sign in to comment.