From b442c861892d7eba253423917fe5480e63d7dad0 Mon Sep 17 00:00:00 2001 From: meetagrawal09 Date: Thu, 7 Sep 2023 00:07:06 +0530 Subject: [PATCH] added workflow for integration testing --- .github/workflows/integration-test.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/integration-test.yml diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml new file mode 100644 index 00000000000..d945631f1cb --- /dev/null +++ b/.github/workflows/integration-test.yml @@ -0,0 +1,21 @@ +name : Integration Tests +on : + schedule: + - cron: '30 4 * * 1' +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: Run tests + run: | + for FILE in modules/data.atmosphere/inst/integrationTests/*; Rscript $FILE; + \ No newline at end of file