Skip to content

Commit dc676e9

Browse files
committed
ci: run tests in recipe
1 parent 229a0c6 commit dc676e9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/wheels.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ on:
1111
- published
1212

1313
env:
14-
CIBW_TEST_EXTRAS: test
15-
CIBW_TEST_COMMAND: pytest {project}/tests
14+
CIBW_TEST_COMMAND: python {project}/tests/test.py
1615
CIBW_BEFORE_BUILD: pip install git+https://github.com/pybind/pybind11.git@master
1716

1817

conda.recipe/meta.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ requirements:
3636
test:
3737
imports:
3838
- python_example
39+
source_files:
40+
- tests
41+
commands:
42+
- python tests/test.py
3943

4044
about:
4145
summary: An example project built with pybind11.

0 commit comments

Comments
 (0)