Skip to content

Commit

Permalink
Include MacOS and Python 3.10 (experimentally) in github tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hardbyte committed Mar 18, 2021
1 parent 663a29f commit f1035ab
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,29 @@

name: Python Unit Tests

# Triggers the workflow on push or pull request events
# Ref: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#on
# Triggers the workflow on push pushed to any branch in a repository
on: push

jobs:
build:
runs-on: Ubuntu-20.04
pytest:
name: Python Unit Tests
runs-on: ${{ matrix.os }}
# Ref: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idcontinue-on-error
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
python-version: [3.9]
experimental: [false]
# Ref: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
os: [macos-latest, ubuntu-latest]
python-version:
- "3.8"
- "3.9"
- "3.10.0-alpha.6"
include:
- python-version: "3.10.0-alpha.6"
os: ubuntu-latest
experimental: true

steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 1 addition & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,13 @@ stages:
displayName: Linux
strategy:
matrix:
python36:
PYTHON_VERSION: '3.6'
python37:
PYTHON_VERSION: '3.7'
python38:
PYTHON_VERSION: '3.8'
python39:
PYTHON_VERSION: '3.9'

pool:
vmImage: 'ubuntu-18.04'
steps:
Expand Down

0 comments on commit f1035ab

Please sign in to comment.