Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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