Skip to content

Commit

Permalink
Merge pull request #7 from bkryza/0_1_x
Browse files Browse the repository at this point in the history
Releasing 0.1.0, dropping support for Python2, adding support for async.
  • Loading branch information
bkryza authored Jan 12, 2022
2 parents 95070f1 + ac0e1ea commit dd252c1
Show file tree
Hide file tree
Showing 40 changed files with 4,390 additions and 820 deletions.
28 changes: 6 additions & 22 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,6 @@ on:
paths-ignore:
- '**.rst'
jobs:
python2:
name: Test on Python 2
runs-on: ${{ matrix.operating-system }}
env:
TOX_DOCKER_VERSION: 1.7.0
strategy:
matrix:
operating-system: [ ubuntu-latest ]
python-version: [ '2.7' ]
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- run: pip install tox tox-gh-actions tox-docker==$TOX_DOCKER_VERSION
- run: tox -c tox-py2.ini -e flake8,basic,swaggerpetstore,httpbin
python3:
name: Test on Python 3
runs-on: ${{ matrix.operating-system }}
Expand All @@ -47,5 +27,9 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- run: pip install tox tox-gh-actions tox-docker==$TOX_DOCKER_VERSION
- run: tox -c tox.ini -e flake8,basic,swaggerpetstore,httpbin
- run: pip install coverage tox tox-gh-actions tox-docker==$TOX_DOCKER_VERSION
- run: tox -c tox.ini -e yapf,rstcheck,flake8,mypy,basic,swaggerpetstore,httpbin,asynchttpbin
- run: coverage xml

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ parts/
sdist/
var/
wheels/
playground/
*.egg-info/
.installed.cfg
*.egg
Expand Down Expand Up @@ -89,6 +90,9 @@ env/
venv/
venv2/
venv3/
venv36/
venv37/
venv38/
ENV/
env.bak/
venv.bak/
Expand All @@ -106,4 +110,4 @@ venv.bak/
# mypy
.mypy_cache/

.idea/
.idea/
10 changes: 10 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
.. :changelog:
0.1.0 (...)
++++++++++++++++++

* Deprecated Python 2 support
* Added typing support and mypy tests
* Added asyncio support through httpx
* Fixed handling of multiple header decorators
* Treat warnings as errors in tests


0.0.7 (2021-11-27)
++++++++++++++++++

Expand Down
Loading

0 comments on commit dd252c1

Please sign in to comment.