Skip to content
Snippets Groups Projects
Commit ca171f5b authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Skip GPU execution test on Travis

parent 191fdac7
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,7 @@ before_script: ...@@ -23,6 +23,7 @@ before_script:
- git config --global user.email "you@example.com" - git config --global user.email "you@example.com"
- git config --global user.name "Your Name" - git config --global user.name "Your Name"
script: script:
- export NO_GPU_EXECUTION
- pip install -e . - pip install -e .
- python setup.py test - python setup.py test
after_success: after_success:
......
...@@ -10,6 +10,7 @@ from os.path import dirname, isfile, join ...@@ -10,6 +10,7 @@ from os.path import dirname, isfile, join
import appdirs import appdirs
import jinja2 import jinja2
import numpy as np import numpy as np
import pytest
import torch import torch
import pystencils import pystencils
...@@ -163,6 +164,7 @@ def test_execute_torch(): ...@@ -163,6 +164,7 @@ def test_execute_torch():
assert op_cpp is not None assert op_cpp is not None
@pytest.skip('NO_GPU_EXECUTION' in os.environ, reason='Skip GPU execution tests')
def test_execute_torch_gpu(): def test_execute_torch_gpu():
x, y = pystencils.fields('x, y: float64[32,32]') x, y = pystencils.fields('x, y: float64[32,32]')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment