Skip to content

[pre-commit.ci] auto fixes from pre-commit.com hooks #63

[pre-commit.ci] auto fixes from pre-commit.com hooks

[pre-commit.ci] auto fixes from pre-commit.com hooks #63

Workflow file for this run

name: Auto Testing
on:
pull_request:
push:
jobs:
codespell:
runs-on : ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Codespell with annotations
uses: codespell-project/[email protected]
linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ricardochaves/[email protected]
with:
python-root-list: "src"
use-pylint: true
use-pycodestyle: true
use-flake8: true
use-black: true
use-mypy: true
use-isort: true
extra-pylint-options: ""
extra-pycodestyle-options: ""
extra-flake8-options: ""
extra-black-options: ""
extra-mypy-options: "--strict"
extra-isort-options: ""
tests:
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@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run:
pip install .[tests]
- name: Run Unit Tests with Coverage
run: |
coverage run -m pytest -vv
coverage report -m
coverage html
- name: Upload Coverage HTML report to Artifacts
uses: actions/upload-artifact@v2
if: always()
with:
name: coverage-report
path: htmlcov/