Skip to content

Initialize Poetry scaffold, core BaZi CLI, and code quality tooling #1

Initialize Poetry scaffold, core BaZi CLI, and code quality tooling

Initialize Poetry scaffold, core BaZi CLI, and code quality tooling #1

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install Poetry
run: |
python -m pip install --upgrade pip
python -m pip install poetry
- name: Install dependencies
run: poetry install --no-interaction
- name: Run linters
run: |
poetry run ruff check .
poetry run black --check .
poetry run mypy .
- name: Run tests
run: poetry run pytest