Skip to content

Merge pull request #1 from safurrier/use-rye-as-env-manager #4

Merge pull request #1 from safurrier/use-rye-as-env-manager

Merge pull request #1 from safurrier/use-rye-as-env-manager #4

Workflow file for this run

name: Code Quality Checks
on:
push:
pull_request:
jobs:
precommit:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Rye
uses: eifinger/setup-rye@v2
- name: Sync Rye
run: rye sync
- name: Run MyPy
run: rye run mypy src
- name: Run Linter
run: rye lint src
- name: Run Formatter
run: rye format src
- name: Run Tests
run: rye run py.test tests --cov=src --cov-report=term-missing