We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e4bcb7 commit 1ed8ccaCopy full SHA for 1ed8cca
.github/workflows/ci.yml
@@ -0,0 +1,35 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+ pull_request:
9
10
11
12
+jobs:
13
+ test:
14
+ runs-on: ubuntu-24.04
15
+ name: Test
16
+ steps:
17
+ - name: Check out code
18
+ uses: actions/checkout@v4
19
20
+ - name: Set up Python
21
+ uses: actions/setup-python@v5
22
+ with:
23
+ python-version: '3.12'
24
25
+ - name: Install dependencies
26
+ run: |
27
+ python -m pip install --upgrade pip
28
+ pip install -r requirements.txt
29
+ pip install black==24.10.0 pytest
30
31
+ - name: Check formatting with Black
32
+ run: black --check .
33
34
+ - name: Run tests
35
+ run: pytest tests/
0 commit comments