-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(quality): add CI for code quality
This commit adds Ruff, Basedpyright and pytest to CI.
- Loading branch information
1 parent
c044498
commit 0a22065
Showing
2 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Code quality | ||
on: | ||
pull_request: | ||
|
||
jobs: | ||
code-quality: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: ./.github/actions/setup-python-env | ||
|
||
- name: ruff | ||
run: "hatch run dev:ruff format --check" | ||
|
||
- name: basedpyright | ||
run: "hatch run dev:basedpyright" | ||
|
||
- name: basedpyright | ||
run: "hatch run test:run" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters