Skip to content

ci: simplify 'linters' GitHub Actions workflow #2822

ci: simplify 'linters' GitHub Actions workflow

ci: simplify 'linters' GitHub Actions workflow #2822

Workflow file for this run

name: unittests
on:
push:
branches:
- main
- v14
pull_request:
branches:
- main
- v14
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
run: python -m pip install .[dev]
- name: Install parallel test runner
run: python -m pip install unittest-parallel
- name: Run Tests
env:
PYTHONWARNINGS: "always:::recipe_scrapers,ignore:::recipe_scrapers.plugins.static_values"
run: unittest-parallel --level test