aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-06-30 11:17:29 +0100
committerbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-06-30 11:17:29 +0100
commitbb70d18a0a51a2321780e8eaa0262ec61a659b05 (patch)
treec6c41e4ddd75694bd057053fad31b43146328002 /editors
parente18389d2684a8da9937fe37f9598fabf67c65fee (diff)
parent60ba253753732080c90e97d2d34f43b71856a7c4 (diff)
Merge #1458
1458: Run VS Code tests on CI r=matklad a=etaoins This is actually much faster than I expected; it takes about 13 seconds to download VS Code and run the unit tests. This means the VS Code tests are still significantly faster than the Rust ones. If this ends up being unreliable we can always remove it later or move it to a separate optional job. We also need to ignore the `.vscode-test` directory when running `prettier` or it will get upset about some temporary JSON files VS Code creates. cc @killercup Co-authored-by: Ryan Cumming <[email protected]>
Diffstat (limited to 'editors')
-rw-r--r--editors/code/.prettierignore2
-rw-r--r--editors/code/package.json2
2 files changed, 3 insertions, 1 deletions
diff --git a/editors/code/.prettierignore b/editors/code/.prettierignore
new file mode 100644
index 000000000..3798f2d1f
--- /dev/null
+++ b/editors/code/.prettierignore
@@ -0,0 +1,2 @@
1node_modules/
2.vscode-test/
diff --git a/editors/code/package.json b/editors/code/package.json
index 6e2dd0494..52972031d 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -25,7 +25,7 @@
25 "lint": "tslint --project .", 25 "lint": "tslint --project .",
26 "test": "node node_modules/vscode/bin/test", 26 "test": "node node_modules/vscode/bin/test",
27 "prettier": "prettier **/*.{json,ts}", 27 "prettier": "prettier **/*.{json,ts}",
28 "travis": "npm run compile && npm run lint && npm run prettier -- --list-different" 28 "travis": "npm run compile && npm run test && npm run lint && npm run prettier -- --list-different"
29 }, 29 },
30 "prettier": { 30 "prettier": {
31 "tabWidth": 4, 31 "tabWidth": 4,