Some checks failed
Continuous Integration / Lint, Check & Test (push) Failing after 46s
Signed-off-by: Konstantin Fickel <mail@konstantinfickel.de>
26 lines
706 B
YAML
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"
|