Skip to content

Smoke Tests

Smoke Tests #102

Workflow file for this run

name: smoke tests
# only build on merges to main
on:
push:
branches:
- main
schedule:
# Run every Sunday
- cron: '0 0 * * 0'
jobs:
test:
name: smoke-tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
fetch-depth: 1
- name: set up R
shell: bash
run: |
export GITHUB_ACTIONS="true"
${GITHUB_WORKSPACE}/smoke_tests/setup.sh
- name: run smoke tests
shell: bash
run: |
R CMD INSTALL .
TEST_DATA_DIR=$(pwd)/smoke_tests/test_data
NUM_PARALLEL=4
${GITHUB_WORKSPACE}/smoke_tests/test.sh ${TEST_DATA_DIR} ${NUM_PARALLEL}