Skip to content

Merge pull request #203 from zcutlip/pre-commit-ci-update-config #73

Merge pull request #203 from zcutlip/pre-commit-ci-update-config

Merge pull request #203 from zcutlip/pre-commit-ci-update-config #73

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Testing and Linting
on:
push:
branches: [ main, development ]
pull_request:
branches: [ main, development ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
pip install --upgrade pip
pip install tox>=4.0
- name: Run tox
run: |
tox -e py