We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 142c1d1 commit 0048e61Copy full SHA for 0048e61
.github/workflows/tests.yml
@@ -0,0 +1,41 @@
1
+---
2
+name: Tests
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
9
10
+
11
+ workflow_dispatch:
12
13
+jobs:
14
+ lint:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - uses: sksat/[email protected]
19
+ - name: Run formatting check
20
+ run: rye fmt --check
21
+ - name: Run linters
22
+ run: rye lint
23
24
+ test:
25
26
+ strategy:
27
+ matrix:
28
+ python-version:
29
+ - "3.8"
30
+ - "3.9"
31
+ - "3.10"
32
+ - "3.11"
33
+ - "3.12"
34
35
36
37
38
+ - name: Install Python ${{ matrix.python-version }}
39
+ run: rye pin ${{ matrix.python-version }}
40
+ - name: Run tests
41
+ run: rye test
0 commit comments