We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e225f42 commit e022a2aCopy full SHA for e022a2a
1 file changed
.github/workflows/tests.yaml
@@ -0,0 +1,33 @@
1
+name: Tests
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
10
11
+jobs:
12
+ job:
13
+ name: Test (Python ${{ matrix.python }})
14
+ runs-on: ubuntu-latest
15
+ env:
16
+ POETRY_VIRTUALENVS_CREATE: false
17
+ strategy:
18
+ fail-fast: false
19
+ matrix:
20
+ python: ["3.9", "3.10", "3.11", "3.12"]
21
+ steps:
22
+ - uses: actions/checkout@v3
23
+ - uses: actions/setup-python@v4
24
+ with:
25
+ python-version: ${{ matrix.python }}
26
+ - name: Install project dependencies
27
+ run: pip install poetry && poetry install
28
+ - name: Test code's formatting (Black)
29
+ run: black --check deshima_rawdata tests
30
+ - name: Test code's typing (Pyright)
31
+ run: pyright deshima_rawdata tests
32
+ - name: Test code's execution (pytest)
33
+ run: pytest -v tests
0 commit comments