Skip to content

Commit 83abcee

Browse files
committed
Add cffi to test env, and add skip as appropriate
1 parent e17b6fc commit 83abcee

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

ci/test_conda.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ rapids-mamba-retry create -n test \
2222
make \
2323
psutil \
2424
pytest \
25+
cffi \
2526
python=${RAPIDS_PY_VERSION}
2627

2728
# Temporarily allow unbound variables for conda activation.

ci/test_wheel.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ rapids-logger "Install testing dependencies"
77
# TODO: Replace with rapids-dependency-file-generator
88
python -m pip install \
99
psutil \
10+
cffi \
1011
cuda-python \
1112
nvidia-cuda-cccl-cu12 \
1213
pytest

numba_cuda/numba/cuda/tests/cudapy/test_device_func.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
import numpy as np
55

6-
from numba.cuda.testing import (skip_on_cudasim, test_data_dir, unittest,
7-
CUDATestCase)
6+
from numba.cuda.testing import (skip_on_cudasim, skip_unless_cffi,
7+
test_data_dir, unittest, CUDATestCase)
88
from numba import cuda, jit, float32, int32, types
99
from numba.core.errors import TypingError
1010
from types import ModuleType
@@ -297,6 +297,7 @@ def test_link_multiple_sources_tuple(self):
297297
def test_link_multiple_sources_list(self):
298298
self._test_link_multiple_sources(list)
299299

300+
@skip_unless_cffi
300301
def test_link_sources_in_memory_and_on_disk(self):
301302
jitlink_cu = str(test_data_dir / "jitlink.cu")
302303
link = [jitlink_cu, jitlink_user_cu]

0 commit comments

Comments
 (0)