Skip to content

Commit

Permalink
Merge branch 'main' of github.com:cemac/LIFD_GaussianProcesses into main
Browse files Browse the repository at this point in the history
  • Loading branch information
cemachelen committed Jun 30, 2022
2 parents a4e85e3 + 5eddfee commit 058942b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: Python Package using Conda
on: [push]

Expand All @@ -9,32 +8,24 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
python-version: [3.7]
os: [ubuntu-latest, macOS-latest, windows-latest]
python-version: [3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v2
- name: install mamba
uses: mamba-org/provision-with-micromamba@main
with:
environment-file: GP.yml
environment-name: GP
- name: Install test packages
shell: bash
shell: bash -l {0}
run: |
pip install pytest nbconvert nbformat
- name: which python
shell: bash
shell: bash -l {0}
run: |
which python
- name: git info
run: |
git log --name-only -1 | cat -
- name: Test with pytest
shell: bash
shell: bash -l {0}
run: |
pytest .github/workflows/test_notebooks.py
5 changes: 3 additions & 2 deletions GP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ channels:
- conda-forge
- defaults
dependencies:
- python>=3.8
- matplotlib
- notebook
- plotly
Expand All @@ -12,6 +13,6 @@ dependencies:
- scipy
- pip:
- gpflow
- tensorflow
- tensorflow-estimator
- tensorflow>=2.3
- tensorflow-estimator>=2.4.0
- tensorflow-probability

0 comments on commit 058942b

Please sign in to comment.