We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68bfd16 commit b8205d5Copy full SHA for b8205d5
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,25 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
+jobs:
9
+ ci:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - uses: actions/setup-python@v4
14
+ with:
15
+ python-version: "3.12"
16
+ - name: Upgrade pip
17
+ run: pip install --upgrade pip
18
+ - name: Install dependencies
19
+ run: pip install ruff mypy pytest
20
+ - name: Lint (ruff)
21
+ run: ruff check --config=pyproject.toml src/
22
+ - name: Type check (mypy)
23
+ run: mypy --config-file=pyproject.toml src/
24
+ - name: Run tests (pytest)
25
+ run: pytest -v
0 commit comments