streamd/.forgejo/workflows/ci.yml
Renovate Bot 246611f92c
All checks were successful
Continuous Integration / Lint, Check & Test (push) Successful in 57s
chore(deps): pin https://git.konstantinfickel.de/actions/checkout action to 34e1148
2026-01-18 17:22:09 +01:00

34 lines
940 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@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- 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: Report test results
uses: https://github.com/dorny/test-reporter.git@v2
if: ${{ !cancelled() }}
with:
name: PyTest Results
path: test-report.xml
reporter: java-junit
- name: Check with PyRight
run: nix develop .#impure --command bash -c "uv run pyright"