Skip to content

Commit

Permalink
jaxopt
Browse files Browse the repository at this point in the history
  • Loading branch information
phinate committed Jul 4, 2023
1 parent 0fd7dc0 commit 0a4637e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,10 @@ jobs:
- name: Install package
run: python -m pip install .[test]

- name: (temp) install specific jaxopt version
run:
python -m pip install --upgrade
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
--durations=20
python -m pip install --upgrade git+https://github.com/phinate/jaxopt.git@fix-lbfgsb-grad
pytest -ra --cov --cov-report=xml --cov-report=term --durations=20
- name: Upload coverage report
uses: codecov/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ repos:
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]
args: [--prose-wrap=always]
args: [--prose-wrap=always, --print-width=100]

- repo: https://github.com/asottile/blacken-docs
rev: "1.14.0"
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ test = [
"pytest >=6",
"pytest-cov >=3",
"pyhf[jax] >=0.7.0",
"iminuit",
]
dev = [
"pytest >=6",
Expand Down

0 comments on commit 0a4637e

Please sign in to comment.