Test Benchmark Examples #145
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: Test Examples | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '59 23 * * 0,2,4' | |
env: | |
# CUDA paths for MSU ICER HPC with "module load GCC/8.3.0 CUDA/10.2.89" | |
CUDA_PATH: '/opt/software/CUDA/10.2.89-GCC-8.3.0' | |
LD_LIBRARY_PATH: '/opt/software/CUDA/10.2.89-GCC-8.3.0/lib64' | |
jobs: | |
run_examples: | |
runs-on: self-hosted | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ['3.8'] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check CUDA | |
run: nvcc -V | |
- name: Install dependencies | |
run: | |
python -m pip install -U pip | |
pip install tox tox-gh-actions -U | |
- name: Test with tox | |
run: tox -e python${{ matrix.python-version }}-gpu |