blob: 693d24708440b50391f4575eaad5a35fc18d86ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
name: Tests CUDA
on:
workflow_dispatch:
pull_request_review:
types: [submitted]
push:
branches:
- 'master' # Set a branch to run CI tests on
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@v1
- name: Install POT
run: |
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
|