Skip to content

Commit 03a8ca7

Browse files
authored
Prepare 5.0.0 (#126)
1 parent 45bb060 commit 03a8ca7

File tree

8 files changed

+226
-321
lines changed

8 files changed

+226
-321
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python: [3.5, 3.6, 3.7, 3.8]
13+
python: [3.6, 3.7, 3.8, 3.9]
1414
steps:
1515
- uses: actions/checkout@v2
1616
- uses: actions/setup-python@v2
@@ -19,26 +19,24 @@ jobs:
1919

2020
- name: Add pip bin to PATH
2121
run: |
22-
echo "::add-path::/home/runner/.local/bin"
23-
24-
- name: Upgrade setuptools
25-
if: ${{ matrix.python == '3.5' }}
26-
run: pip install --upgrade setuptools
22+
echo "/home/runner/.local/bin" >> $GITHUB_PATH
2723
2824
- name: Install deps with ${{ matrix.python }}
2925
run: pip install ".[test, ci]"
3026

3127
- name: Lint with ${{ matrix.python }}
3228
if: ${{ matrix.python == '3.8' }}
33-
run: |
34-
black --check stream
35-
flake8 --ignore=E501,E225,W293,W503 stream
29+
run: make lint
3630

3731
- name: Install, test and code coverage with ${{ matrix.python }}
3832
env:
3933
STREAM_KEY: ${{ secrets.STREAM_KEY }}
4034
STREAM_SECRET: ${{ secrets.STREAM_SECRET }}
4135
run: |
42-
python setup.py test
4336
python setup.py install
44-
codecov
37+
make test
38+
39+
- name: "Upload coverage to Codecov"
40+
uses: codecov/codecov-action@v1
41+
with:
42+
fail_ci_if_error: true

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ var/
2121
*.egg-info/
2222
.installed.cfg
2323
*.egg
24+
.eggs/
2425

2526
# Installer logs
2627
pip-log.txt

CHANGELOG

Lines changed: 0 additions & 300 deletions
This file was deleted.

0 commit comments

Comments
 (0)