Skip to content

Commit

Permalink
Autosync (#7)
Browse files Browse the repository at this point in the history
* AEA-1571: fixes and docstrings

ref:dc5e39459bc6ae5e73a09fb3175b0bf85ff8d3c4

* AEA-1592: PR from branch users/tulinev/change_api

change base url path

fix test operation_log

ref:1d3421dcabd83970b1560851e96246850b3cfd9f

* Change base.pyi

ref:f0063cb36d393be1b6df680312cf480f9ff0125f

* Fixing typing issues due to fromisoformat patching

ref:06ac47e10a516341eb6910b785f29681b9de5055

* Incremented version

ref:0598f117c1ca967944047ce9c81ed7f2025d51fa

* AEA-1604: Release to PyPI when release is created on GitHub

ref:7d13bf6c93428f696aca8e3a7741811aabccbafd

Co-authored-by: Stepan Nosov <[email protected]>
Co-authored-by: Evgeny Tulin <[email protected]>
Co-authored-by: Dmitry Ustalov <[email protected]>
  • Loading branch information
4 people authored Feb 8, 2021
1 parent d35a59f commit 0bcee1d
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release

on:
release:
types: [ published ]

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Run tox
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python -m tox -e release
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@
!*.py
!*.pyi
!*.toml
!*.yml
12 changes: 12 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,15 @@ commands =
basepython = python3.8
deps = mypy
commands = mypy src/client

[testenv:release]
basepython = python3.8
deps =
build
twine
passenv =
TWINE_USERNAME
TWINE_PASSWORD
commands =
python -m build --sdist --wheel .
twine upload dist/*

0 comments on commit 0bcee1d

Please sign in to comment.