Skip to content

Tests CUDA

Tests CUDA #180

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