streamd/.forgejo/workflows/ci.yml
Konstantin Fickel 7fac024b91
Some checks failed
Continuous Integration / Lint, Check & Test (push) Failing after 46s
ci: switch from pyright to ty
Signed-off-by: Konstantin Fickel <mail@konstantinfickel.de>
2026-02-01 10:14:21 +01:00

26 lines
706 B
YAML

name: Continuous Integration
on:
push:
workflow_dispatch:
jobs:
build-and-lint:
name: Lint, Check & Test
runs-on: nix
steps:
- name: Check out Repository
uses: https://git.konstantinfickel.de/actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- run: nix --version
- run: nix flake check
- name: Install the project
run: 'nix develop .#impure --command bash -c "uv sync --locked --all-extras --dev"'
- name: Test with PyTest
run: nix develop .#impure --command bash -c "uv run pytest --junit-xml test-report.xml"
- name: Check with PyRight
run: nix develop .#impure --command bash -c "uv run ty check"