Skip to content

feat: add check

feat: add check #34

Workflow file for this run

name: CI
on:
pull_request:
types: [opened, edited, synchronize]
push:
branches: ['master', 'main']
env:
PYTHONPATH: './src:./test'
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- 'ubuntu-latest'
# - 'windows-latest'
# - 'mac-latest'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.13'
cache: 'pip'
- name: install deps
run: pip install -r requirements.txt -r requirements-dev.txt
- name: lint
run: ruff check
- name: format
run: ruff format --check
- name: test
run: pytest --cov=./src/ ./tests/
- name: coverage
run: coverage report