diff --git a/.github/workflows/test_on_push.yaml b/.github/workflows/test_on_push.yaml index 06788ba7c..7b6c6f739 100644 --- a/.github/workflows/test_on_push.yaml +++ b/.github/workflows/test_on_push.yaml @@ -99,6 +99,7 @@ jobs: sudo apt-get install -y libopenblas-dev python -m nox -s pybamm-requires python -m pip install .[all] + rm -rf pybind11/ cd .. - name: Run coverage tests for Ubuntu with Python 3.11 and generate report diff --git a/conftest.py b/conftest.py index c632f3e50..5fc769a9e 100644 --- a/conftest.py +++ b/conftest.py @@ -5,6 +5,9 @@ plotly.io.renderers.default = None matplotlib.use("Template") +# Ignore the pybamm/ folder and any subdirectories from test discovery +collect_ignore = ["pybamm/"] + def pytest_addoption(parser): parser.addoption(