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.
2 parents cd6ab87 + 643828f commit 00c017fCopy full SHA for 00c017f
.github/workflows/ci.yml
@@ -0,0 +1,39 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ lint-and-test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ fail-fast: false
14
+ matrix:
15
+ python-version: ["3.10", "3.11", "3.12", "3.13"]
16
+ steps:
17
+ - name: Checkout code
18
+ uses: actions/checkout@v4
19
20
+ - name: Set up Python
21
+ uses: actions/setup-python@v5
22
+ with:
23
+ python-version: '3.10'
24
25
+ - name: Install uv
26
+ run: |
27
+ pip install uv
28
29
+ - name: Install dependencies
30
31
+ uv sync --dev
32
33
+ - name: Lint with ruff
34
35
+ uv run ruff check firefly tests
36
37
+ - name: Run tests with pytest
38
39
+ uv run pytest --cov=firefly --cov-report=term-missing
0 commit comments