Do test with py310-dev again

This commit is contained in:
Takeshi KOMIYA 2020-11-05 11:13:37 +09:00
parent 4664814ed2
commit a3c8768afd

View File

@ -4,11 +4,12 @@ on: [push, pull_request]
jobs: jobs:
ubuntu: ubuntu:
runs-on: ubuntu-16.04 runs-on: ${{ matrix.os }}
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
name: [py35, py36, py37, py38, py39] name: [py35, py36, py37, py38, py39]
os: [ubuntu-16.04]
include: include:
- name: py35 - name: py35
python: 3.5 python: 3.5
@ -26,6 +27,10 @@ jobs:
python: 3.9 python: 3.9
docutils: du16 docutils: du16
coverage: "--cov ./ --cov-append --cov-config setup.cfg" coverage: "--cov ./ --cov-append --cov-config setup.cfg"
- name: py310-dev
python: 3.10-dev
docutils: du16
os: ubuntu-latest # required
env: env:
PYTEST_ADDOPTS: ${{ matrix.coverage }} PYTEST_ADDOPTS: ${{ matrix.coverage }}
@ -33,6 +38,12 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python }} - name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2 uses: actions/setup-python@v2
if: "!endsWith(matrix.python, '-dev')"
with:
python-version: ${{ matrix.python }}
- name: Set up Python ${{ matrix.python }} (deadsnakes)
uses: deadsnakes/action@v1.0.0
if: endsWith(matrix.python, '-dev')
with: with:
python-version: ${{ matrix.python }} python-version: ${{ matrix.python }}
- name: Check Python version - name: Check Python version