We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ddef0f commit 9c2ff03Copy full SHA for 9c2ff03
1 file changed
.github/workflows/python.yml
@@ -0,0 +1,26 @@
1
+# Python package workflow
2
+
3
+name: Python package
4
5
+on:
6
+ push:
7
+ branches: [ "main" ]
8
+ pull_request:
9
10
11
+jobs:
12
+ check-and-test:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Checkout the project
16
+ uses: actions/checkout@v5
17
+ - name: Install uv
18
+ uses: astral-sh/setup-uv@v6
19
+ - name: Install the project
20
+ run: uv sync
21
+ - name: Run checks with ruff
22
+ run: |
23
+ uv run ruff check .
24
+ uv run ruff format --check .
25
+ - name: Run tests with pytest
26
+ run: uv run pytest
0 commit comments