Skip to content

Run pytest on PRs

Run pytest on PRs #1

Workflow file for this run

---
# yamllint disable rule:line-length
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Tests
on: # yamllint disable-line rule:truthy
pull_request:
push:
branches:
- main
tags:
- "v*"
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, 3.10, 3.11, 3.12]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install build tools
run: pip install pytest
- name: Test
run: python -m pytest