This repository has been archived by the owner on Nov 25, 2024. It is now read-only.
drop python <3.10 #88
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Runs all tests | |
name: All Tests | |
defaults: | |
run: | |
shell: bash | |
on: # Runs on any push event to any branch except master (the coverage workflow takes care of that) | |
push: | |
branches-ignore: | |
- 'master' | |
jobs: | |
tests: | |
name: ${{ matrix.os }} / ${{ matrix.python-version }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-22.04, ubuntu-24.04, macos-latest, windows-latest] | |
python-version: ["3.10", 3.11, 3.12] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
cache-dependency-path: '**/pyproject.toml' | |
- name: Upgrade pip | |
run: python -m pip install --upgrade pip | |
- name: Install package with test dependencies | |
run: python -m pip install ".[test]" | |
- name: Run all tests | |
run: python -m pytest |