Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11
Commits
2377d43e
Commit
2377d43e
authored
Jan 25, 2021
by
Ralf W. Grosse-Kunstleve
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding new tests to CMake config, resetting CI config.
parent
3e8e83af
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
23 additions
and
7 deletions
+23
-7
.appveyor.yml
+0
-3
.github/workflows/ci.yml
+1
-1
.github/workflows/configure.yml
+1
-1
.github/workflows/format.yml
+1
-1
.github/workflows/pip.yml
+1
-1
CMakeLists.txt
+3
-0
tests/CMakeLists.txt
+16
-0
No files found.
.appveyor.yml
View file @
2377d43e
version
:
1.0.{build}
version
:
1.0.{build}
image
:
image
:
-
Visual Studio 2015
-
Visual Studio 2015
branches
:
only
:
-
will_never_exist
test
:
off
test
:
off
skip_branch_with_pr
:
true
skip_branch_with_pr
:
true
build
:
build
:
...
...
.github/workflows/ci.yml
View file @
2377d43e
...
@@ -2,7 +2,7 @@ name: CI
...
@@ -2,7 +2,7 @@ name: CI
on
:
on
:
workflow_dispatch
:
workflow_dispatch
:
#
pull_request:
pull_request
:
push
:
push
:
branches
:
branches
:
-
master
-
master
...
...
.github/workflows/configure.yml
View file @
2377d43e
...
@@ -2,7 +2,7 @@ name: Config
...
@@ -2,7 +2,7 @@ name: Config
on
:
on
:
workflow_dispatch
:
workflow_dispatch
:
#
pull_request:
pull_request
:
push
:
push
:
branches
:
branches
:
-
master
-
master
...
...
.github/workflows/format.yml
View file @
2377d43e
...
@@ -5,7 +5,7 @@ name: Format
...
@@ -5,7 +5,7 @@ name: Format
on
:
on
:
workflow_dispatch
:
workflow_dispatch
:
#
pull_request:
pull_request
:
push
:
push
:
branches
:
branches
:
-
master
-
master
...
...
.github/workflows/pip.yml
View file @
2377d43e
...
@@ -2,7 +2,7 @@ name: Pip
...
@@ -2,7 +2,7 @@ name: Pip
on
:
on
:
workflow_dispatch
:
workflow_dispatch
:
#
pull_request:
pull_request
:
push
:
push
:
branches
:
branches
:
-
master
-
master
...
...
CMakeLists.txt
View file @
2377d43e
...
@@ -105,6 +105,8 @@ set(PYBIND11_HEADERS
...
@@ -105,6 +105,8 @@ set(PYBIND11_HEADERS
include/pybind11/detail/descr.h
include/pybind11/detail/descr.h
include/pybind11/detail/init.h
include/pybind11/detail/init.h
include/pybind11/detail/internals.h
include/pybind11/detail/internals.h
include/pybind11/detail/smart_holder_poc.h
include/pybind11/detail/smart_holder_type_casters.h
include/pybind11/detail/typeid.h
include/pybind11/detail/typeid.h
include/pybind11/attr.h
include/pybind11/attr.h
include/pybind11/buffer_info.h
include/pybind11/buffer_info.h
...
@@ -122,6 +124,7 @@ set(PYBIND11_HEADERS
...
@@ -122,6 +124,7 @@ set(PYBIND11_HEADERS
include/pybind11/operators.h
include/pybind11/operators.h
include/pybind11/pybind11.h
include/pybind11/pybind11.h
include/pybind11/pytypes.h
include/pybind11/pytypes.h
include/pybind11/smart_holder.h
include/pybind11/stl.h
include/pybind11/stl.h
include/pybind11/stl_bind.h
)
include/pybind11/stl_bind.h
)
...
...
tests/CMakeLists.txt
View file @
2377d43e
...
@@ -101,6 +101,9 @@ set(PYBIND11_TEST_FILES
...
@@ -101,6 +101,9 @@ set(PYBIND11_TEST_FILES
test_callbacks.cpp
test_callbacks.cpp
test_chrono.cpp
test_chrono.cpp
test_class.cpp
test_class.cpp
test_class_sh_basic.cpp
test_class_sh_inheritance.cpp
test_class_sh_unique_ptr_member.cpp
test_constants_and_functions.cpp
test_constants_and_functions.cpp
test_copy_move.cpp
test_copy_move.cpp
test_custom_type_casters.cpp
test_custom_type_casters.cpp
...
@@ -129,6 +132,7 @@ set(PYBIND11_TEST_FILES
...
@@ -129,6 +132,7 @@ set(PYBIND11_TEST_FILES
test_stl.cpp
test_stl.cpp
test_stl_binders.cpp
test_stl_binders.cpp
test_tagbased_polymorphic.cpp
test_tagbased_polymorphic.cpp
test_type_caster_bare_interface.cpp
test_union.cpp
test_union.cpp
test_virtual_functions.cpp
)
test_virtual_functions.cpp
)
...
@@ -169,6 +173,8 @@ set(PYBIND11_CROSS_MODULE_TESTS test_exceptions.py test_local_bindings.py test_s
...
@@ -169,6 +173,8 @@ set(PYBIND11_CROSS_MODULE_TESTS test_exceptions.py test_local_bindings.py test_s
set
(
PYBIND11_CROSS_MODULE_GIL_TESTS test_gil_scoped.py
)
set
(
PYBIND11_CROSS_MODULE_GIL_TESTS test_gil_scoped.py
)
set
(
PYBIND11_CLASS_SH_MODULE_LOCAL_TESTS test_class_sh_module_local.py
)
# Check if Eigen is available; if not, remove from PYBIND11_TEST_FILES (but
# Check if Eigen is available; if not, remove from PYBIND11_TEST_FILES (but
# keep it in PYBIND11_PYTEST_FILES, so that we get the "eigen is not installed"
# keep it in PYBIND11_PYTEST_FILES, so that we get the "eigen is not installed"
# skip message).
# skip message).
...
@@ -304,6 +310,16 @@ foreach(t ${PYBIND11_CROSS_MODULE_GIL_TESTS})
...
@@ -304,6 +310,16 @@ foreach(t ${PYBIND11_CROSS_MODULE_GIL_TESTS})
endif
()
endif
()
endforeach
()
endforeach
()
foreach
(
t
${
PYBIND11_CLASS_SH_MODULE_LOCAL_TESTS
}
)
list
(
FIND PYBIND11_PYTEST_FILES
${
t
}
i
)
if
(
i GREATER -1
)
list
(
APPEND test_targets class_sh_module_local_0
)
list
(
APPEND test_targets class_sh_module_local_1
)
list
(
APPEND test_targets class_sh_module_local_2
)
break
()
endif
()
endforeach
()
# Support CUDA testing by forcing the target file to compile with NVCC
# Support CUDA testing by forcing the target file to compile with NVCC
if
(
PYBIND11_CUDA_TESTS
)
if
(
PYBIND11_CUDA_TESTS
)
set_property
(
SOURCE
${
PYBIND11_TEST_FILES
}
PROPERTY LANGUAGE CUDA
)
set_property
(
SOURCE
${
PYBIND11_TEST_FILES
}
PROPERTY LANGUAGE CUDA
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment