Skip to content

introduce EntityToAction #123

introduce EntityToAction

introduce EntityToAction #123

Workflow file for this run

name: test build
on:
push:
branches-ignore: ["stable"]
workflow_dispatch:
permissions:
contents: read
jobs:
test-build:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: install ruff
uses: astral-sh/ruff-action@v3
with:
args: "--version"
- name: lint code
run: ruff check --output-format=github --target-version=py311
- name: check code formatting
run: ruff format --diff --target-version=py311
continue-on-error: true # Remove this once the project is formatted
- name: install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: setup python
uses: actions/setup-python@v6
with:
python-version-file: "pyproject.toml"
- name: install project
run: uv sync --all-extras --dev
- name: run tests
run: uv run python -m pytest
- name: build package
run: uv build