Skip to content

[pre-commit.ci] pre-commit autoupdate #59

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #59

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install test dependencies
run: pip install -r requirements.txt
- name: Run tests
run: pytest