Tests CUDA #167
Workflow file for this run
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: Tests CUDA | |
on: | |
workflow_dispatch: | |
pull_request_review: | |
types: [submitted] | |
jobs: | |
linux-cuda: | |
runs-on: pc-cuda | |
if: github.event.review.state == 'approved' || github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/master') | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install POT | |
run: | | |
python3.10 -m pip install --upgrade pip setuptools | |
python3.10 -m pip install --ignore-installed -e . | |
- name: Run tests | |
run: | | |
python3.10 -m pytest --durations=20 -v test/ ot/ --doctest-modules --color=yes --ignore=test/test_dr.py --ignore=ot.dr --ignore=ot.plot | |