File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ test-build :
9+ runs-on : ubuntu-latest
10+ strategy :
11+ fail-fast : false
12+ matrix :
13+ python-version : ["3.10", "3.11", "3.12"]
14+
15+ name : Python ${{ matrix.python-version }} - tests & build
16+
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v4
20+
21+ - name : Setup Python
22+ uses : actions/setup-python@v5
23+ with :
24+ python-version : ${{ matrix.python-version }}
25+ cache : " pip"
26+
27+ - name : Install Poetry
28+ run : |
29+ python -m pip install --upgrade pip
30+ pip install poetry
31+
32+ - name : Install dependencies (Poetry)
33+ run : |
34+ poetry --version
35+ poetry install --no-interaction
36+
37+ - name : Run unit tests
38+ run : |
39+ poetry run pytest -q
40+
41+ - name : Build package (wheel + sdist)
42+ run : |
43+ poetry build
You can’t perform that action at this time.
0 commit comments