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 4e6ed88 commit b6c1005Copy full SHA for b6c1005
.github/workflows/test.yaml
@@ -0,0 +1,32 @@
1
+name: test
2
+
3
+on:
4
+ # Trigger the workflow on push or pull request,
5
+ # but only for the main branch
6
+ push:
7
+ branches:
8
+ - main
9
+ pull_request:
10
11
12
13
+jobs:
14
+ ruff:
15
+ runs-on: ubuntu-latest
16
+ strategy:
17
+ matrix:
18
+ python-version: ["3.8", "3.9", "3.10", "3.11"]
19
+ steps:
20
+ - uses: actions/checkout@v2
21
+ - name: Set up Python ${{ matrix.python-version }}
22
+ uses: actions/setup-python@v2
23
+ with:
24
+ python-version: ${{ matrix.python-version }}
25
+ - name: Install dependencies
26
+ run: |
27
+ python -m pip install --upgrade pip
28
+ pip install .
29
+ pip install pytest
30
+ - name: Test
31
32
+ pytest tests -s -v
0 commit comments