Skip to content

Commit

Permalink
Add
Browse files Browse the repository at this point in the history
  • Loading branch information
allgandalf committed Sep 10, 2023
1 parent ce327b9 commit 04a61c6
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
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/depends:R4.1

steps:
- name: Checkout source code
uses: actions/checkout@v3


- name: update dependency lists
run: Rscript scripts/generate_dependencies.R

- name: check for out-of-date dependencies files
uses: infotroph/tree-is-clean@v1

- name: install newly-added dependencies
run: Rscript docker/depends/pecan.depends.R

- name: Install Packages
run: make -j1 install

- name: Run tests
run: |
for FILE in modules/data.atmosphere/inst/integrationTests/*; do
Rscript $FILE;
done

0 comments on commit 04a61c6

Please sign in to comment.