Improve logging in project deletes #330
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tests | |
on: | |
push: | |
branches: [ develop ] | |
pull_request: | |
branches: [ develop ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/ctsit/rstudio-ci:latest | |
env: | |
CI: "TRUE" | |
R_LIBS_USER: /github/home/R/x86_64-pc-linux-gnu-library/4.4 | |
R_LIB_FOR_PAK: /usr/local/lib/R/site-library | |
steps: | |
- uses: actions/checkout@v2 | |
# Set up and cache R dependencies | |
- name: Install and cache R dependencies | |
uses: r-lib/actions/setup-r-dependencies@v2 | |
with: | |
cache: "always" | |
- name: Debug Paths | |
run: | | |
echo "Checking /github/home/R/x86_64-pc-linux-gnu-library/4.4" | |
ls -R /github/home/R/x86_64-pc-linux-gnu-library/4.4 || echo "Directory does not exist." | |
echo "Checking renv/library" | |
ls -R renv/library || echo "Directory does not exist." | |
# Run tests | |
- name: Run Tests | |
run: devtools::test(stop_on_failure = TRUE) | |
shell: Rscript {0} |