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 - Pytest Develop
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+ # Allows you to run this workflow manually from the Actions tab
8+ workflow_dispatch :
9+
10+ jobs :
11+ build :
12+ # Jobs definition
13+ runs-on : ${{ matrix.os }}
14+ if : ${{ !github.event.pull_request.draft }}
15+ strategy :
16+ max-parallel : 1
17+ matrix :
18+ os : [ubuntu-latest]
19+ python-version : ['3.13']
20+ name : pytest (Python ${{ matrix.python-version }}) (OS ${{ matrix.os }})
21+
22+ # Configure tests
23+ steps :
24+ - uses : actions/checkout@v4
25+ - name : Set up Python ${{ matrix.python-version }}
26+ uses : actions/setup-python@v5
27+ with :
28+ python-version : ${{ matrix.python-version }}
29+ - name : Install dependencies
30+ run : |
31+ python -m pip install --upgrade pip
32+ pip install -e ".[dev]"
33+ - name : Test with pytest
34+ run : |
35+ pytest -vv
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ authors = [
66description = " A library for spatial aggregation and disaggregation"
77readme = " README.md"
88version = " 0.0.3.dev"
9- dynamic = [" dependencies" ]
9+ dynamic = [" dependencies" , " optional-dependencies " ]
1010
1111# complete classifier list:
1212# http://pypi.org/classifiers/
@@ -38,6 +38,9 @@ gregor = "gregor.cli:cli"
3838[tool .setuptools .dynamic ]
3939dependencies = { file = [" requirements/base.txt" ] }
4040
41+ [tool .setuptools .dynamic .optional-dependencies ]
42+ dev = { file = [" requirements/dev.txt" ] }
43+
4144[tool .ruff ]
4245builtins = [" ellipsis" ]
4346target-version = " py38"
Original file line number Diff line number Diff line change 11mkdocs-material
22mkdocstrings[python]
33mkdocs-jupyter
4- mkdocstrings-python
4+ mkdocstrings-python
5+ pytest
You can’t perform that action at this time.
0 commit comments