Github Actions: Update CI condition

- check mypy and lint tool on python 3.9
- Install check on python 3.10
- Publish to pypi on python 3.10
- Tox test on python 3.8, 3.10, 3.11

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
Hiroshi Miura
2022-11-17 11:53:15 +09:00
parent 88e932cc96
commit a5bc8a688f
4 changed files with 8 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
name: Check package
name: Check tox tests, lint and types
on:
push:

View File

@@ -20,10 +20,10 @@ jobs:
fetch-depth: 50
- name: Fetch release tag
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Set up Python 3.9🐍
- name: Set up Python 3.10🐍
uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.10'
- name: Install build and twine
run: python -m pip install build twine --user
- name: Build release assets

View File

@@ -8,12 +8,12 @@ jobs:
strategy:
matrix:
os: [windows-latest, macOS-latest, ubuntu-latest]
py: [3.9]
py: ["3.10"]
qtver: [5.9.9, 5.12.8, 6.1.0]
artifact: [standard]
include:
- os: windows-latest
py: 3.9
py: "3.10"
qtver: 6.1.0
artifact: binary
- os: ubuntu-20.04
@@ -22,7 +22,7 @@ jobs:
artifact: standard
exclude:
- os: ubuntu-latest
py: 3.9
py: "3.10"
qtver: 6.1.0
steps:
- uses: actions/checkout@v1

View File

@@ -240,8 +240,8 @@ commands =
[gh-actions]
python =
3.8: py38, docs, check
3.9: py39, mypy
3.8: py38
3.9: py39, docs, check, mypy
3.10: py310
3.11: py311
"""