Add released Python 3.10 to CI
MODIFY
.github/workflows/ci.yml
.github/workflows/ci.yml
@@ -17,7 +17,7 @@ jobs:
- name: Set up Python 3
uses: actions/setup-python@v2
with:
- python-version: 3
+ python-version: "3"
- name: Check packages
run: |
python3 -m pip install wheel twine rstcheck;
@@ -28,27 +28,23 @@ jobs:
strategy:
fail-fast: false
matrix:
- python-version: [3.7, 3.8, 3.9]
+ python-version: ["3.7", "3.8", "3.9", "3.10"]
os: [macos-latest, windows-latest, ubuntu-latest]
experimental: [false]
nox-session: ['']
include:
- - python-version: pypy-3.7
+ - python-version: "pypy-3.7"
os: ubuntu-latest
experimental: false
nox-session: test-pypy
- - python-version: 2.7
+ - python-version: "2.7"
os: ubuntu-latest
experimental: false
nox-session: unsupported_python2
- - python-version: 3.9
+ - python-version: "3.9"
os: ubuntu-latest
experimental: false
nox-session: test_brotlipy
- - python-version: 3.10.0-rc.2
- os: ubuntu-latest
- experimental: false
- nox-session: test-3.10
runs-on: ${{ matrix.os }}
name: ${{ fromJson('{"macos-latest":"macOS","windows-latest":"Windows","ubuntu-latest":"Ubuntu"}')[matrix.os] }} ${{ matrix.python-version }} ${{ matrix.nox-session}}
@@ -79,7 +75,7 @@ jobs:
if: matrix.python-version == '2.7'
uses: actions/setup-python@v2
with:
- python-version: 3
+ python-version: "3"
- name: Install Dependencies
run: python -m pip install --upgrade nox

MODIFY
.github/workflows/integration.yml
.github/workflows/integration.yml
@@ -18,7 +18,7 @@ jobs:
- name: Set Up Python - ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
- python-version: 3.9
+ python-version: "3.9"
- name: Install Dependencies
run: python -m pip install --upgrade nox

MODIFY
.github/workflows/lint.yml
.github/workflows/lint.yml
@@ -13,7 +13,7 @@ jobs:
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
- python-version: 3.8
+ python-version: "3.8"
- name: Lint the code
uses: pre-commit/action@v2.0.0
- name: Install dependencies

Add released Python 3.10 to CI