simplify_mermaidlite #412
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: gpu-tests | |
on: | |
pull_request: | |
push: | |
branches: master | |
jobs: | |
test-linux: | |
runs-on: [self-hosted, linux] | |
strategy: | |
max-parallel: 5 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Install dependencies | |
run: | | |
pip install -r requirements.txt | |
pip install -e . | |
- name: fast test with unittest | |
run: | | |
python -m unittest -k CPU | |
- name: GPU test with unittest | |
run: | | |
python -m unittest discover | |
- name: Build docs | |
working-directory: docs | |
run: | | |
pip install sphinx sphinx-rtd-theme monai | |
make clean | |
make html SPHINXOPTS="-W --keep-going" |