You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sherlock/.github/workflows/regression.yml

57 lines
1.2 KiB

8 months ago
name: Regression Testing
on:
pull_request:
branches: [ master ]
paths:
- '**/*.json'
- '**/*.py'
- '**/*.ini'
- '**/*.toml'
- '**/*.yml'
- '**/*.yaml'
8 months ago
push:
branches: [ master ]
paths:
- '**/*.json'
- '**/*.py'
- '**/*.ini'
- '**/*.toml'
- '**/*.yml'
- '**/*.yaml'
jobs:
tox-matrix:
8 months ago
runs-on: ${{ matrix.os }}
strategy:
8 months ago
fail-fast: false # We want to know what version it fails on
8 months ago
matrix:
os: [
ubuntu-latest,
windows-latest,
macos-latest,
8 months ago
]
python-version: [
'3.8',
'3.9',
'3.10',
'3.11',
'3.12',
]
steps:
8 months ago
- uses: actions/checkout@v4
- name: Set up environment ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install tox and related dependencies
run: |
python -m pip install --upgrade pip
pip install tox
pip install tox-gh-actions
- name: Run tox
run: |
tox -e lint
tox