summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-11-05 11:13:37 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2020-11-10 22:33:03 +0900
commita3c8768afd52af91c4bcb72b43f516aec7022c4c (patch)
treede1d40c1375f3315152349e56ba6329d73a5d32f
parent4664814ed2c2694a83372adea135764f6af3b6ba (diff)
downloadsphinx-git-a3c8768afd52af91c4bcb72b43f516aec7022c4c.tar.gz
Do test with py310-dev again
-rw-r--r--.github/workflows/main.yml13
1 files changed, 12 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 0159ac34d..06309f991 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -4,11 +4,12 @@ on: [push, pull_request]
jobs:
ubuntu:
- runs-on: ubuntu-16.04
+ runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
name: [py35, py36, py37, py38, py39]
+ os: [ubuntu-16.04]
include:
- name: py35
python: 3.5
@@ -26,6 +27,10 @@ jobs:
python: 3.9
docutils: du16
coverage: "--cov ./ --cov-append --cov-config setup.cfg"
+ - name: py310-dev
+ python: 3.10-dev
+ docutils: du16
+ os: ubuntu-latest # required
env:
PYTEST_ADDOPTS: ${{ matrix.coverage }}
@@ -33,6 +38,12 @@ jobs:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python }}
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:
python-version: ${{ matrix.python }}
- name: Check Python version