Skip to content

Commit 5fac0b0

Browse files
committed
build: added tox workflow and text file with requirements for dev installation
1 parent f440137 commit 5fac0b0

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

requirements_dev.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
packaging
2+
numpy
3+
obspy
4+
mercantile
5+
shapely
6+
pycsep
7+
flake8
8+
mypy
9+
pytest-cov
10+
pytest
11+
sphinx
12+
sphinx-autoapi
13+
sphinx-gallery
14+
sphinx-rtd-theme
15+
tox

tox.ini

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[tox]
2+
minversion = 3.11
3+
envlist =
4+
{py311}
5+
isolated_build = true
6+
requires = tox-conda
7+
8+
[testenv]
9+
setenv=
10+
PYTHONPATH = {toxinidir}
11+
conda_channels=
12+
defaults
13+
conda-forge
14+
conda_deps=
15+
pycsep
16+
deps=
17+
-r{toxinidir}/requirements_dev.txt
18+
commands=
19+
pip install -e .[dev]
20+
pytest --basetemp={envtmpdir}
21+
22+
23+

0 commit comments

Comments
 (0)