ci: add ruff
Some checks failed
Continuous Integration / Lint, Check & Test (push) Failing after 40s
Some checks failed
Continuous Integration / Lint, Check & Test (push) Failing after 40s
This commit is contained in:
parent
acb0a0d26e
commit
d827ea2375
1 changed files with 3 additions and 3 deletions
|
|
@ -19,6 +19,9 @@ jobs:
|
||||||
- name: Install the project
|
- name: Install the project
|
||||||
run: nix develop .#impure --command bash -c "uv sync --locked --all-extras --dev"
|
run: nix develop .#impure --command bash -c "uv sync --locked --all-extras --dev"
|
||||||
|
|
||||||
|
- name: Check with Ruff
|
||||||
|
run: nix develop .#impure --command bash -c "uv run ruff check"
|
||||||
|
|
||||||
- name: Test with PyTest
|
- name: Test with PyTest
|
||||||
run: nix develop .#impure --command bash -c "uv run pytest --junit-xml test-report.xml"
|
run: nix develop .#impure --command bash -c "uv run pytest --junit-xml test-report.xml"
|
||||||
|
|
||||||
|
|
@ -30,8 +33,5 @@ jobs:
|
||||||
path: test-report.xml
|
path: test-report.xml
|
||||||
reporter: java-junit
|
reporter: java-junit
|
||||||
|
|
||||||
- name: Check with Ruff
|
|
||||||
run: nix develop .#impure --command bash -c "uv run ruff check"
|
|
||||||
|
|
||||||
- name: Check with PyRight
|
- name: Check with PyRight
|
||||||
run: nix develop .#impure --command bash -c "uv run pyright"
|
run: nix develop .#impure --command bash -c "uv run pyright"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue