Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ jobs:
run: |
python -m pytest --allocator=libxm -k "TestFunctionality and h2o_sto3g"
- name: Run C++ tests
run: python setup.py cpptest -v
run: |
python -m pip install --user .[cpptest]
python setup.py cpptest -v
# Documentation build
- name: Dependencies for documentation
run: python -m pip install --user .[build_docs]
Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ dependencies = [

[project.optional-dependencies]
tests = ["pytest", "pytest-cov", "pandas >= 0.25.0"]
# building the tests requires the same dependencies as building libadcc
# since we explicity call setup.py
cpptest = [
"setuptools >= 77.0",
"pybind11 >= 2.6"
]
build_docs = [
"sphinx>=2", "breathe", "sphinxcontrib-bibtex",
"sphinx-automodapi", "sphinx-rtd-theme"
Expand Down
Loading