-
Notifications
You must be signed in to change notification settings - Fork 11
/
tox.ini
57 lines (50 loc) · 1.01 KB
/
tox.ini
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
56
57
[tox]
env_list = lint-signer, lint-repo, test-repo, test-signer, test-e2e
[testenv:lint-signer]
description = Signer Linting
labels = lint
deps = -e signer[lint]
changedir = signer
commands =
ruff check .
ruff format --check --diff .
mypy .
[testenv:lint-repo]
description = Repository Linting
labels = lint
deps =
-c action-constraints.txt
-e repo[lint]
changedir = repo
commands =
ruff check .
ruff format --check --diff .
mypy .
[testenv:test-repo]
description = Repository unit tests
labels = test
deps =
-c action-constraints.txt
-e repo
changedir = repo
commands =
python -m unittest
[testenv:test-signer]
description = Signer unit tests
labels = test
deps = -e signer
changedir = signer
commands =
python -m unittest
[testenv:test-e2e]
# See tests/README.md for the system dependencies
description = End-to-end tests with mocked GitHub Actions
labels = test
deps =
-c action-constraints.txt
-e repo
-e signer
pynacl
changedir = tests
commands =
./e2e.sh