From 7116070ee7a88eaa3bee795b896999309d2bd835 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 5 Oct 2022 22:37:57 -0400 Subject: [PATCH] ci: add testing for 3.11 (#620) Signed-off-by: Henry Schreiner --- .github/workflows/ci.yml | 4 ++-- noxfile.py | 2 +- tests/test_local.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e53a55492..ebdad79c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,12 +40,12 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.6", "3.8", "3.10"] + python-version: ["3.6", "3.8", "3.11-dev"] os: [ubuntu-latest, windows-latest, macos-latest] include: - python-version: 'pypy-3.7' os: ubuntu-latest - - python-version: 'pypy-3.8' + - python-version: 'pypy-3.9' os: ubuntu-latest runs-on: ${{ matrix.os }} diff --git a/noxfile.py b/noxfile.py index d6445c2cd..fa6be3b3f 100644 --- a/noxfile.py +++ b/noxfile.py @@ -2,7 +2,7 @@ import nox -ALL_PYTHONS = ["3.6", "3.7", "3.8", "3.9", "3.10"] +ALL_PYTHONS = ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"] nox.options.sessions = ["lint", "tests"] diff --git a/tests/test_local.py b/tests/test_local.py index d96d39b49..932ab85b7 100644 --- a/tests/test_local.py +++ b/tests/test_local.py @@ -806,7 +806,7 @@ def test_list_processes(self): assert list(local.list_processes()) def test_pgrep(self): - assert list(local.pgrep("python")) + assert list(local.pgrep("[pP]ython")) def _generate_sigint(self): with pytest.raises(KeyboardInterrupt):