Skip to content

Add instructions for setting up logger #27

Add instructions for setting up logger

Add instructions for setting up logger #27

Workflow file for this run

name: Checks
on:
push:
branches:
- main
pull_request:
branches:
- '**'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
# pyright needs node
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ".[dev]"
- name: Run pyright type check
run: |
pyright .
- name: Run ruff lint
run: |
ruff check --fix-only .
- name: Run ruff format
run: |
ruff format .
- name: Run tests
run: |
python -m pytest --runslow --durations=10