general,ci: fix python 3.10 issues, add to CI (#242)

This commit is contained in:
karlicoss 2022-05-03 19:11:23 +01:00 committed by GitHub
parent 64a4782f0e
commit 76a497f2bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 19 deletions

View file

@ -17,17 +17,18 @@ jobs:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.7', '3.8', '3.9']
python-version: ['3.7', '3.8', '3.9', '3.10']
exclude: [
# windows runners are pretty scarce, so let's only run one of them..
{platform: windows-latest, python-version: '3.7'},
{platform: windows-latest, python-version: '3.9'},
{platform: windows-latest, python-version: '3.7' },
{platform: windows-latest, python-version: '3.9' },
{platform: windows-latest, python-version: '3.10'},
]
runs-on: ${{ matrix.platform }}
# TODO let's at least start running windows for now, will fix later
continue-on-error: ${{ matrix.platform == 'windows-latest' }}
# useful for 'optional' pipelines
# continue-on-error: ${{ matrix.platform == 'windows-latest' }}
steps:
# ugh https://github.com/actions/toolkit/blob/main/docs/commands.md#path-manipulation