Skip to content

Add tests

Add tests #4

Workflow file for this run

name: CI/CQ
on:
pull_request:
types: ["opened", "synchronize", "reopened"]
jobs:
codechecks:
name: Code Quality
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set Up Python-${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Pre Commit Checks
uses: pre-commit/[email protected]
- name: Install Dependencies
run: pip install .[dev]
- name: Collect Tests
run: pytest --collect-only tests
- name: Run Tests
run: pytest -sv tests/
- name: Analysis (git diff)
if: failure()
run: git diff