From a3c8768afd52af91c4bcb72b43f516aec7022c4c Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Thu, 5 Nov 2020 11:13:37 +0900 Subject: [PATCH] Do test with py310-dev again --- .github/workflows/main.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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