Skip to content

Update the packing to pyproject.toml #163

Update the packing to pyproject.toml

Update the packing to pyproject.toml #163

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python Lint and Test
on:
push:
branches:
- "*"
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade pre-commit
pip install .[dev]
- name: Run pre-commit
run: |
pre-commit run -a
- name: Test with pytest
run: |
python -m pytest tests/