Skip to content

add new repo structure #2

add new repo structure

add new repo structure #2

Workflow file for this run

---
name: CI
on:
workflow_dispatch:
pull_request:
push:
branches: main # Comment this line if you want to test the CI before opening a PR
jobs:
ci:
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install Poetry
run: |
pipx install poetry
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version-file: ${{ github.workspace }}/.python-version
cache: poetry
cache-dependency-path: poetry.lock
- name: Install dependencies
run: |
poetry install
- name: Typecheck
run: |
pyright .
- name: Lint
run: |
ruff check .
- name: Test
run: |
python3 -m pytest tests/