From 41c539bf6c50646e322ff5a2d48c496818ee92e7 Mon Sep 17 00:00:00 2001 From: Eshaan Bansal Date: Thu, 4 May 2023 01:25:59 +0530 Subject: [PATCH] chore: add Python 3.11 in test.yml (#55) * chore: add Python 3.11 in test.yml * Update tox.ini --- .github/workflows/test.yml | 6 +++--- tox.ini | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 26ac7fb..c7cf4ed 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,9 +13,9 @@ jobs: runs-on: ${{ matrix.os || 'ubuntu-latest' }} strategy: fail-fast: false - max-parallel: 5 + max-parallel: 6 matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] include: - python-version: 3.6 os: ubuntu-20.04 @@ -41,7 +41,7 @@ jobs: tox - name: Report test-coverage to DeepSource - if: ${{ matrix.python-version == '3.10' }} + if: ${{ matrix.python-version == '3.11' }} run: | # Install the CLI curl https://deepsource.io/cli | sh diff --git a/tox.ini b/tox.ini index 2ca9075..11bfcc5 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,8 @@ [tox] envlist = docs-html, - py{36,37,38,39,310}-flask1 - py{36,37,38,39,310}-flask2 + py{36,37,38,39,310,311}-flask1 + py{36,37,38,39,310,311}-flask2 [testenv] commands = @@ -28,6 +28,7 @@ python = 3.8: py38, docs-html 3.9: py39 3.10: py310 + 3.11: py311 [testenv:docs-html] deps =