Skip to content

add abort_limit

add abort_limit #121

Workflow file for this run

name: tests
on:
push:
branches:
- main
tags:
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
pull_request:
branches:
- main
workflow_dispatch:
jobs:
test:
name: ${{ matrix.platform }} (${{ matrix.python-version }}) ${{ matrix.backend }}
runs-on: ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
platform: [ubuntu-latest, macos-latest, windows-latest]
backend: [pyqt5]
include:
- python-version: "3.10"
platform: ubuntu-latest
backend: pyqt6
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: tlambert03/[email protected]
- name: Install dependencies
run: python -m pip install .[testing] --upgrade hatch
- name: Test
uses: aganders3/headless-gui@v1
with:
run: hatch -v run +backend=${{ matrix.backend }} test:run