From 3fd736c3d2892a91f7ba34af56bea140831d64ab Mon Sep 17 00:00:00 2001 From: Neil Lawrence Date: Wed, 14 Oct 2026 07:06:11 +0100 Subject: [PATCH] Point CI and docs at main; fix Actions dependency install. After the default-branch rename, drop the leftover master push trigger and install runtime deps explicitly so the test workflow can import GPy. --- .github/workflows/tests.yml | 7 ++++--- README.md | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cece5ab..a2b406c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,7 +3,6 @@ name: Tests on: push: branches: - - master - main pull_request: workflow_dispatch: @@ -31,8 +30,10 @@ jobs: - name: Install package and test dependencies run: | python -m pip install --upgrade pip setuptools wheel - python -m pip install -e . - python -m pip install matplotlib h5py tables + # Install runtime + test deps explicitly: editable metadata from + # setup.py is not reliably applied by current pip/setuptools. + python -m pip install "numpy>=1.7" "scipy>=0.12" "GPy>=1.0" matplotlib h5py tables + python -m pip install -e . --no-deps - name: Run unit tests run: python -m unittest deepgp.testing.model_tests_basic -v diff --git a/README.md b/README.md index fdddab2..7d275a5 100644 --- a/README.md +++ b/README.md @@ -11,13 +11,13 @@ Currently implemented models are Testing ------- -GitHub Actions runs the unit tests on pull requests and pushes to `master`. +GitHub Actions runs the unit tests on pull requests and pushes to `main`. To run the suite locally: ```bash -python -m pip install -e . -python -m pip install matplotlib h5py tables +python -m pip install "numpy>=1.7" "scipy>=0.12" "GPy>=1.0" matplotlib h5py tables +python -m pip install -e . --no-deps python -m unittest deepgp.testing.model_tests_basic -v ```