-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathtest_description.json
113 lines (113 loc) · 2.72 KB
/
test_description.json
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"tests": [
{
"test_name": "build-gnu",
"command": "RUSTFLAGS=\"-D warnings\" cargo build --release",
"platform": [
"x86_64",
"aarch64",
"riscv64"
]
},
{
"test_name": "build-musl",
"command": "RUSTFLAGS=\"-D warnings\" cargo build --release --target {target_platform}-unknown-linux-musl",
"platform": [
"x86_64",
"aarch64"
]
},
{
"test_name": "style",
"command": "cargo fmt --all -- --check --config format_code_in_doc_comments=true"
},
{
"test_name": "unittests-gnu",
"command": "cargo test --all-features --workspace",
"platform": [
"x86_64",
"aarch64",
"riscv64"
],
"docker_plugin": {
"privileged": true
}
},
{
"test_name": "unittests-musl",
"command": "cargo test --all-features --workspace --target {target_platform}-unknown-linux-musl",
"platform": [
"x86_64",
"aarch64"
],
"docker_plugin": {
"privileged": true
}
},
{
"test_name": "unittests-gnu-release",
"command": "cargo test --release --all-features --workspace",
"platform": [
"x86_64",
"aarch64",
"riscv64"
],
"docker_plugin": {
"privileged": true
}
},
{
"test_name": "unittests-musl-release",
"command": "cargo test --release --all-features --workspace --target {target_platform}-unknown-linux-musl",
"platform": [
"x86_64",
"aarch64"
],
"docker_plugin": {
"privileged": true
}
},
{
"test_name": "clippy",
"command": "cargo clippy --workspace --bins --examples --benches --all-features --all-targets -- -D warnings -D clippy::undocumented_unsafe_blocks",
"platform": [
"x86_64",
"aarch64",
"riscv64"
]
},
{
"test_name": "check-warnings",
"command": "RUSTFLAGS=\"-D warnings\" cargo check --all-targets --all-features --workspace",
"platform": [
"x86_64",
"aarch64",
"riscv64"
]
},
{
"test_name": "coverage",
"command": "pytest $(find . -type f -name \"test_coverage.py\")",
"docker_plugin": {
"privileged": true
},
"platform": [
"x86_64"
]
},
{
"test_name": "commit-format",
"command": "pytest $(find . -type f -name \"test_commit_format.py\")",
"docker_plugin": {
"propagate-environment": true
}
},
{
"test_name": "cargo-audit",
"command": "[ -e Cargo.lock ] || cargo generate-lockfile; cargo audit -q --deny warnings",
"platform": [
"x86_64"
]
}
]
}