Skip to content

17 add quickstart

17 add quickstart #82

Workflow file for this run

name: Python package
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
first_build:
name: Build for (${{ matrix.python-version }}, ${{ matrix.os }}; first build)
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest'] # In first build we only test 1 os
python-version: ['3.11'] # In first build we only test 1 python version
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-test-and-build
with:
python-version: ${{ matrix.python-version }}
other_builds:
name: Build for (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
needs: first_build
strategy:
fail-fast: false
matrix:
os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ]
python-version: [ '3.9', '3.11' ] # Only first and last supported versions
exclude:
# already tested in first_build job
- python-version: 3.11
os: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-test-and-build
with:
python-version: ${{ matrix.python-version }}