-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,6 +57,10 @@ jobs: | |
- name: Install package | ||
run: python -m pip install .[test] | ||
|
||
- name: (temp) install specific jaxopt version | ||
run: | ||
pip install git+https://github.com/phinate/jaxopt.git@fix-lbfgsb-grad | ||
|
||
- name: Test package | ||
run: >- | ||
python -m pytest -ra --cov --cov-report=xml --cov-report=term | ||
|
@@ -65,12 +69,13 @@ jobs: | |
- name: Upload coverage report | ||
uses: codecov/[email protected] | ||
|
||
- name: Run examples | ||
run: | | ||
cd examples | ||
python -m pip install -r requirements.txt | ||
python -m pip install jupyter nbclient | ||
jupyter execute *.ipynb | ||
## skip these for now until things are stable | ||
# - name: Run examples | ||
# run: | | ||
# cd examples | ||
# python -m pip install -r requirements.txt | ||
# python -m pip install jupyter nbclient | ||
# jupyter execute *.ipynb | ||
|
||
dist: | ||
needs: [pre-commit] | ||
|