Skip to content

Commit

Permalink
Prepare 5.0.0 (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
ferhatelmas authored Dec 18, 2020
1 parent 45bb060 commit 03a8ca7
Show file tree
Hide file tree
Showing 8 changed files with 226 additions and 321 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.5, 3.6, 3.7, 3.8]
python: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand All @@ -19,26 +19,24 @@ jobs:

- name: Add pip bin to PATH
run: |
echo "::add-path::/home/runner/.local/bin"
- name: Upgrade setuptools
if: ${{ matrix.python == '3.5' }}
run: pip install --upgrade setuptools
echo "/home/runner/.local/bin" >> $GITHUB_PATH
- name: Install deps with ${{ matrix.python }}
run: pip install ".[test, ci]"

- name: Lint with ${{ matrix.python }}
if: ${{ matrix.python == '3.8' }}
run: |
black --check stream
flake8 --ignore=E501,E225,W293,W503 stream
run: make lint

- name: Install, test and code coverage with ${{ matrix.python }}
env:
STREAM_KEY: ${{ secrets.STREAM_KEY }}
STREAM_SECRET: ${{ secrets.STREAM_SECRET }}
run: |
python setup.py test
python setup.py install
codecov
make test
- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v1
with:
fail_ci_if_error: true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ var/
*.egg-info/
.installed.cfg
*.egg
.eggs/

# Installer logs
pip-log.txt
Expand Down
300 changes: 0 additions & 300 deletions CHANGELOG

This file was deleted.

Loading

0 comments on commit 03a8ca7

Please sign in to comment.