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 860ee4b commit 518a703Copy full SHA for 518a703
.github/workflows/tests.yml
@@ -0,0 +1,36 @@
1
+name: Tests
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ python-version: ["3.11", "3.12"]
15
16
+ steps:
17
+ - uses: actions/checkout@v4
18
19
+ - name: Set up Python ${{ matrix.python-version }}
20
+ uses: actions/setup-python@v5
21
+ with:
22
+ python-version: ${{ matrix.python-version }}
23
24
+ - name: Install dependencies
25
+ run: |
26
+ python -m pip install --upgrade pip
27
+ pip install -r requirements.txt
28
29
+ - name: Run tests
30
31
+ pytest tests/ -v --tb=short
32
33
+ - name: Run linting
34
35
+ pip install ruff
36
+ ruff check .
0 commit comments