-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: create linting and testing workflow
- Loading branch information
1 parent
9409413
commit 675f5e1
Showing
2 changed files
with
20 additions
and
1 deletion.
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,19 @@ | ||
name: test-lint | ||
on: [push] | ||
jobs: | ||
uv-pylint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install uv | ||
uses: astral-sh/setup-uv@v3 | ||
with: | ||
version: "0.5.2" | ||
- name: Set up Python | ||
run: uv python install | ||
- name: Install the project | ||
run: uv sync --all-extras --dev | ||
- name: Run tests | ||
run: uv run pytest tests/test_extension.py | ||
- name: Run Ruff linter | ||
run: uv run ruff check ./ |
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