Skip to content

Save.

Save. #246

Workflow file for this run

# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python test
on:
push:
branches: [ "*" ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
include:
- { os: ubuntu-latest, python_version: '3.4' }
- { os: ubuntu-latest, python_version: '3.5' }
- { os: ubuntu-latest, python_version: '3.6' }
- { os: ubuntu-latest, python_version: '3.7' }
- { os: ubuntu-latest, python_version: '3.8' }
- { os: ubuntu-latest, python_version: '3.9' }
- { os: ubuntu-latest, python_version: '3.10' }
- { os: ubuntu-latest, python_version: '3.11' }
- { os: ubuntu-latest, python_version: '3.12' }
- { os: macos-11, python_version: '3.7' }
- { os: macos-latest, python_version: '3.8' }
- { os: macos-latest, python_version: '3.9' }
- { os: macos-latest, python_version: '3.10' }
- { os: macos-latest, python_version: '3.11' }
- { os: macos-latest, python_version: '3.12' }
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: python -m pip install --upgrade pip
- run: python -m pip install -r requirements-dev.txt -r requirements.txt
- run: ./scripts/check-types
- run: python -m pytest