Skip to content

chore: add ruff

chore: add ruff #51

Workflow file for this run

name: Run Tests
on: [pull_request]
jobs:
test:
name: Test and Build package 📦
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install pypa/build
run: |
python3 -m pip install -e '.[test]'
python3 -m pip install build --user
- name: Run tests
run: pytest
- name: Build a binary wheel and a source tarball
run: python3 -m build