Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: test against python 3.11, and run codecov in a non-deprecated way #250

Closed
wants to merge 2 commits into from
Closed
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
13 changes: 6 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -39,14 +39,13 @@ jobs:
scripts/kube-init.sh py.test -vvv -s kubernetes_asyncio/e2e_test

- name: Lint with flake8 and isort (only on the latest version of Python)
if: matrix.python-version == 3.10
if: matrix.python-version == '3.11'
run: |
flake8
isort -c --diff .

- name: Send coverage report
if: matrix.python-version == 3.10
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
codecov
uses: codecov/codecov-action@v3
if: matrix.python-version == '3.11'
with:
token: ${{ secrets.CODECOV_TOKEN }}
1 change: 0 additions & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
asynctest
codecov>=1.4.0
flake8
isort
mock>=2.0.0
Expand Down