Skip to content

Update integration-test.yml #9

Update integration-test.yml

Update integration-test.yml #9

name : Integration Tests
on :
# allow manual triggering
workflow_dispatch:
# for debugging
push:
pull_request:
schedule:
# run Thursday 4:30 AM UTC
- cron: '30 4 * * 4'
env:
R_LIBS_USER: /usr/local/lib/R/site-library
jobs:
test:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
container:
image: pecan/base:latest
steps:
- name: work around https://github.com/actions/checkout/issues/766
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- uses: actions/checkout@v3
with:
set-safe-directory: false
- name: Install Packages
run: make -j1 install
- name: Run tests
run: |
for FILE in modules/data.atmosphere/inst/integrationTests/*; do
Rscript $FILE;
done