forked from insanum/gcalcli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
41 lines (35 loc) · 755 Bytes
/
tox.ini
File metadata and controls
41 lines (35 loc) · 755 Bytes
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
[tox]
requires =
tox>=4
envlist = lint, type, py3{10,11,12}, cli
[testenv]
usedevelop = true
deps = pytest
pytest-cov
coverage
vobject
extras = dev
commands=py.test -vv --cov=./gcalcli --pyargs tests {posargs}
coverage html
[testenv:lint]
description = run linters
skip_install = true
deps = ruff
commands = ruff check
[testenv:type]
description = run type checks
deps =
mypy >= 1.0
commands =
mypy {posargs:gcalcli} --cache-fine-grained
[testenv:cli]
description = run functional tests using Bats
allowlist_externals =
./tests/cli/run_tests.sh
commands =
./tests/cli/run_tests.sh {posargs:tests/cli/test.bats}
[gh]
python =
3.12 = py312, lint, type, cli
3.11 = py311
3.10 = py310, type