Skip to content

Commit

Permalink
Merge pull request #3 from google-research/test_516061844
Browse files Browse the repository at this point in the history
pip cache & version update to test pypi push
  • Loading branch information
vlad17 authored Mar 12, 2023
2 parents 6ebd104 + 9aef387 commit 2443391
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/pytest_and_autopublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: 3.9
# Uncomment to cache of pip dependencies (if tests too slow)
# cache: pip
# cache-dependency-path: '**/pyproject.toml'
cache: pip
cache-dependency-path: '**/pyproject.toml'

- run: pip --version
- run: pip install -e .[dev]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# `precondition`: Preconditioning Optimizers

[![Unittests](https://github.com/google-research/precondition/actions/workflows/pytest_and_autopublish.yml/badge.svg)](https://github.com/google-research/precondition/actions/workflows/pytest_and_autopublish.yml)
[![PyPI version](https://badge.fury.io/py/precondition.svg)](https://badge.fury.io/py/precondition-opt)
[![PyPI version](https://badge.fury.io/py/precondition-opt.svg)](https://badge.fury.io/py/precondition-opt)

Installation
Installation (note package name is `precondition` but pypi distribution name is `precondition-opt`):
```
pip3 install -U precondition-opt
```
Expand Down
2 changes: 1 addition & 1 deletion precondition/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@

# A new PyPI release will be pushed everytime `__version__` is increased
# When changing this, also update the CHANGELOG.md
__version__ = '0.1.1'
__version__ = '0.2.0'

0 comments on commit 2443391

Please sign in to comment.