-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bump version number * update changelog * add upload workflow * add td3 to changelog * pin blackbird * Add Eli Bourassa contribution * minor updates * more minor updates Co-authored-by: Sebastián Duque Mesa <675763+sduquemesa@users.noreply.github.com>
- Loading branch information
1 parent
b15c9ff
commit 3c8b509
Showing
4 changed files
with
69 additions
and
30 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
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Upload | ||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
upload: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Build and install Strawberry Fields | ||
run: | | ||
python -m pip install --upgrade pip wheel | ||
python setup.py bdist_wheel | ||
pip install dist/StrawberryFields*.whl | ||
- name: Install test dependencies | ||
run: | | ||
pip install wheel pytest pytest-cov pytest-mock --upgrade | ||
- name: Run tests | ||
run: | | ||
python -m pytest tests --tb=native | ||
- name: Publish | ||
uses: pypa/gh-action-pypi-publish@master | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI }} |
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
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 |
---|---|---|
|
@@ -16,4 +16,4 @@ | |
Version number (major.minor.patch[-label]) | ||
""" | ||
|
||
__version__ = "0.19.0-dev" | ||
__version__ = "0.19.0" |