Skip to content

CI: fix matrix logic #173

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,30 @@ on:
- main
schedule:
- cron: '0 5 * * 1'
workflow_dispatch:

jobs:
build:
tests:
name: ${{ matrix.os }} ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 12
matrix:
os: [Ubuntu-latest, macOS-latest]
# Run all supported OS for one Python version, then add a few extra scenarios
os: [ubuntu-latest, macos-latest]
python-version: ['3.9']
toxenv: [py39-test]
name: ['with Python 3.9',]

include:
- python-version: '3.8'
toxenv: py38-test-oldestdeps

- python-version: '3.9'
toxenv: py39-test
name: with Python 3.8 and oldest versioned dependencies
os: ubuntu-latest

- python-version: '3.10'
toxenv: py310-test-devdeps
name: with Python 3.10 with developer versioned dependencies
os: ubuntu-latest

steps:
- uses: actions/checkout@v3
Expand Down