We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80c2b82 commit 00a817bCopy full SHA for 00a817b
1 file changed
.github/workflows/pytest.yml
@@ -0,0 +1,33 @@
1
+name: unit testing
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
9
+permissions:
10
+ contents: read
11
12
+jobs:
13
+ build:
14
15
+ runs-on: ${{ matrix.os }}
16
17
+ strategy:
18
+ matrix:
19
+ os: [ubuntu-latest, windows-latest]
20
21
+ steps:
22
+ - uses: actions/checkout@v4
23
+ - name: Set up Python 3.10
24
+ uses: actions/setup-python@v3
25
+ with:
26
+ python-version: "3.10"
27
+ - name: Install dependencies
28
+ run: |
29
+ python -m pip install --upgrade pip pytest
30
+ pip install --editable .
31
+ - name: Test with pytest
32
33
+ pytest
0 commit comments