mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-22 19:34:16 +00:00
Run VS Code tests on CI
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.
This commit is contained in:
parent
27df89f47d
commit
60ba253753
3 changed files with 21 additions and 6 deletions
2
editors/code/.prettierignore
Normal file
2
editors/code/.prettierignore
Normal file
|
@ -0,0 +1,2 @@
|
|||
node_modules/
|
||||
.vscode-test/
|
|
@ -25,7 +25,7 @@
|
|||
"lint": "tslint --project .",
|
||||
"test": "node node_modules/vscode/bin/test",
|
||||
"prettier": "prettier **/*.{json,ts}",
|
||||
"travis": "npm run compile && npm run lint && npm run prettier -- --list-different"
|
||||
"travis": "npm run compile && npm run test && npm run lint && npm run prettier -- --list-different"
|
||||
},
|
||||
"prettier": {
|
||||
"tabWidth": 4,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue