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
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Tests
on:
push:
branches:
- master
- main
pull_request:
workflow_dispatch:
Expand Down Expand Up @@ -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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
Loading