Code Quality Pipeline / Setup Python and UV dependencies (pull_request) Successful in 17s
Code Quality Pipeline / code-quality (pull_request) Failing after 4s
Test Python Package / Setup Python and UV dependencies (pull_request) Successful in 18s
Test Python Package / test (pull_request) Failing after 3s
Type Check / Setup Python and UV dependencies (pull_request) Successful in 17s
Type Check / type-check (pull_request) Failing after 4s
33 lines
725 B
YAML
33 lines
725 B
YAML
name: Code Quality Pipeline
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
jobs:
|
|
setup-python-uv-dependencies:
|
|
name: Setup Python and UV dependencies
|
|
uses: ./.gitea/workflows/setup-python-uv-dependencies.yml
|
|
with:
|
|
python-version: ${{ vars.PYTHON_VERSION }}
|
|
|
|
code-quality:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Ruff lint
|
|
run: ruff check .
|
|
|
|
- name: Ruff format
|
|
run: ruff format --check .
|
|
|
|
- name: Pyupgrade check
|
|
run: pyupgrade --py313-plus $(git ls-files '*.py') && git diff --exit-code
|
|
|
|
- name: Install prettier
|
|
run: npm install --save-dev --save-exact prettier
|
|
|
|
- name: Prettier format
|
|
run: npx prettier --check .
|