-
Notifications
You must be signed in to change notification settings - Fork 36
/
pixi.toml
55 lines (48 loc) · 1.66 KB
/
pixi.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[project]
name = "pymake"
channels = ["conda-forge"]
platforms = ["win-64", "linux-64", "linux-aarch64", "osx-arm64", "osx-64"]
version = "1.2.10.dev0"
[dependencies]
appdirs = "*"
codespell = "*"
coverage = "*"
filelock = "*"
flaky = "*"
flopy = "*"
matplotlib = "*"
meson = "1.3.0"
modflow-devtools = "*"
networkx = "*"
ninja = "*"
numpy = "*"
pip = "*"
pydotplus = "*"
pytest = "!=8.1.0"
pytest-benchmark = "*"
pytest-cov = "*"
pytest-dotenv = "*"
pytest-order = "*"
pytest-xdist = "*"
python = "3.9.*"
requests = "*"
ruff = "*"
[tasks]
postinstall = "pip install --no-build-isolation --no-deps --disable-pip-version-check -e ."
# format
check-lint = "ruff check ."
check-format = "ruff format . --check"
fix-style = "ruff check . --fix; ruff format ."
# build
test = "meson test --verbose --no-rebuild -C"
# test
download-examples = {cmd = "python ci_setup.py", cwd = "autotest"}
autotest = { cmd = "pytest -v -n auto --dist=loadgroup -m='base or regression' --durations 0 --cov=pymake --cov-report=xml --keep-failed .failed", cwd = "autotest" }
autotest-base = { cmd = "pytest -v -n auto --dist=loadgroup -m='base' --durations 0 --cov=pymake --cov-report=xml --keep-failed .failed", cwd = "autotest" }
autotest-request = { cmd = "pytest -v -n=auto -m='requests' --durations=0 --cov=pymake --cov-report=xml --keep-failed .failed", cwd = "autotest" }
autotest-schedule = { cmd = "pytest -v -m='schedule' --durations=0 --cov=pymake --cov-report=xml --keep-failed .failed", cwd = "autotest" }
# coverage report
coverage-report = { cmd = "coverage report", cwd = "autotest"}
# release
update-version = { cmd = "python scripts/update_version.py -v"}
create-codejson = { cmd = "make-code-json" }