From 320980d424ca440188ec624b36a5307ccb5c20ec Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Fri, 8 Jul 2022 13:38:09 +0300 Subject: [PATCH] Test Python 3.11 beta --- .github/workflows/main.yml | 2 ++ pytest.ini | 4 ++++ tox.ini | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9548395..48c10e6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,12 +8,14 @@ env: jobs: test: strategy: + fail-fast: false matrix: python: - 3.7 - 3.8 - 3.9 - "3.10" + - "3.11-dev" platform: - ubuntu-latest - macos-latest diff --git a/pytest.ini b/pytest.ini index bdb4f56..af8028e 100644 --- a/pytest.ini +++ b/pytest.ini @@ -3,5 +3,9 @@ norecursedirs = dist docs build .git .eggs .tox addopts = --durations=10 -v -rxXs --doctest-modules filterwarnings = error + # 3.11: Pending release of https://github.com/certifi/python-certifi/pull/199 + ignore:path is deprecated. Use files\(\) instead.*:DeprecationWarning + # 3.11: Pending release of https://github.com/brettcannon/gidgethub/pull/185 + ignore:'cgi' is deprecated and slated for removal in Python 3.13:DeprecationWarning junit_duration_report = call junit_suite_name = cherry_picker_test_suite diff --git a/tox.ini b/tox.ini index 1361a96..b5ddc4c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{310, 39, 38, 37} + py{311, 310, 39, 38, 37} isolated_build = true [testenv]