Skip to content

Commit fa71f01

Browse files
authored
Merge pull request #1001 from ahoppen/ahoppen/tasks-json
Add a tasks.json file with a default build configuration and commands to run tests in parallel
2 parents 1e72500 + c4e081c commit fa71f01

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.vscode/tasks.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"tasks": [
3+
{
4+
"args": [
5+
"test",
6+
"--parallel"
7+
],
8+
"cwd": "",
9+
"detail": "swift test --parallel",
10+
"disableTaskQueue": true,
11+
"group": "test",
12+
"label": "Run all tests (parallel)",
13+
"problemMatcher": [
14+
"$swiftc"
15+
],
16+
"type": "swift"
17+
},
18+
{
19+
"args": [
20+
"test",
21+
"--parallel"
22+
],
23+
"cwd": "",
24+
"detail": "SKIP_LONG_TESTS=1 swift test --parallel",
25+
"disableTaskQueue": true,
26+
"group": {
27+
"isDefault": true,
28+
"kind": "test"
29+
},
30+
"label": "Run fast tests (parallel)",
31+
"options": {
32+
"env": {
33+
"SKIP_LONG_TESTS": "1"
34+
}
35+
},
36+
"problemMatcher": [
37+
"$swiftc"
38+
],
39+
"type": "swift"
40+
}
41+
],
42+
"version": "2.0.0"
43+
}

0 commit comments

Comments
 (0)