mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-25 21:06:23 +02:00
Revert "update github workflow for testing"
This reverts commit c8e3333e6c.
This commit is contained in:
parent
74e4e6c92c
commit
2ac3a8ca6b
1 changed files with 59 additions and 5 deletions
64
.github/workflows/test-and-deploy.yml
vendored
64
.github/workflows/test-and-deploy.yml
vendored
|
|
@ -13,10 +13,10 @@ permissions:
|
|||
pull-requests: read
|
||||
|
||||
jobs:
|
||||
test-gpy:
|
||||
test-windows:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [windows-latest, ubuntu-latest, macos-latest]
|
||||
os: [windows-latest]
|
||||
python: ['3.9', '3.10', '3.11', '3.12']
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
|
|
@ -28,18 +28,72 @@ jobs:
|
|||
with:
|
||||
python-version: ${{ matrix.python }}
|
||||
|
||||
- name: Install build dependencies
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install setuptools
|
||||
pip install matplotlib
|
||||
pip install pytest
|
||||
|
||||
- name: Install lib
|
||||
run: |
|
||||
python setup.py develop
|
||||
|
||||
- name: Install test dependencies
|
||||
- name: pytest
|
||||
run: |
|
||||
pytest GPy/testing
|
||||
|
||||
test-linux:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
python: ['3.9', '3.10', '3.11', '3.12']
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ matrix.python }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install setuptools
|
||||
pip install matplotlib
|
||||
pip install pytest
|
||||
|
||||
- name: Install lib
|
||||
run: |
|
||||
python setup.py develop
|
||||
|
||||
- name: pytest
|
||||
run: |
|
||||
pytest GPy/testing
|
||||
test-macos:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-latest]
|
||||
python: ['3.10', '3.11', '3.12']
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ matrix.python }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install setuptools
|
||||
pip install matplotlib
|
||||
pip install pytest
|
||||
|
||||
- name: Install lib
|
||||
run: |
|
||||
python setup.py develop
|
||||
|
||||
- name: pytest
|
||||
run: |
|
||||
|
|
@ -162,7 +216,7 @@ jobs:
|
|||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [test-gpy, build-linux, build-windows, build-macos]
|
||||
needs: [test-windows, test-linux, test-macos, build-linux, build-windows, build-macos]
|
||||
if: github.event_name == 'release'
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue