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 ada5229 commit 1c482d5Copy full SHA for 1c482d5
.github/workflows/run_tests.yaml
@@ -0,0 +1,35 @@
1
+name: Run tests
2
+
3
+on:
4
+ pull_request:
5
6
+jobs:
7
+ run-tests:
8
+ strategy:
9
+ matrix:
10
+ python-version: [ 3.9, 3.11 ]
11
+ os: [ ubuntu-latest ]
12
+ fail-fast: false
13
+ runs-on: ${{ matrix.os }}
14
+ steps:
15
+ - name: Checkout code
16
+ uses: actions/checkout@v2
17
18
+ - name: Set up Python ${{ matrix.python-version }}
19
+ uses: actions/setup-python@v2
20
+ with:
21
+ python-version: ${{ matrix.python-version }}
22
23
+ - name: Install dependencies
24
+ run: |
25
+ python -m pip install --upgrade pip
26
+ python -m pip install -r ./test/requirements.txt
27
28
29
+ - name: Checks with pre-commit
30
+ uses: pre-commit/action@v2.0.3
31
32
+ - name: Test with pytest
33
34
+ python -m pip install .
35
+ python -m test
0 commit comments