We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e0d0c4 commit 99d8449Copy full SHA for 99d8449
1 file changed
.github/workflows/testing.yml
@@ -0,0 +1,30 @@
1
+name: Python testing
2
+
3
+on:
4
+ - push
5
6
+jobs:
7
+ check:
8
+ runs-on: ubuntu-latest
9
+ strategy:
10
+ matrix:
11
+ python-version:
12
+ - "3.9"
13
+ - "3.10"
14
+ - "3.11"
15
16
+ steps:
17
+ - uses: actions/checkout@v3
18
+ - name: Set up Python ${{ matrix.python-version }}
19
+ uses: actions/setup-python@v4
20
+ with:
21
+ python-version: ${{ matrix.python-version }}
22
+ - name: Install poetry
23
+ run: |
24
+ python -m pip install --upgrade pip poetry pre-commit
25
+ - name: Install dependencies
26
+ run: poetry install
27
+ - name: Lint code
28
+ run: pre-commit run --all-files
29
+ - name: Test with pytest
30
+ run: pytest -s -vv tests/
0 commit comments