-
Notifications
You must be signed in to change notification settings - Fork 5.9k
fix: revert CI change + fix broken tests #4306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,6 +54,10 @@ jobs: | |
run: yarn lint | ||
if: success() | ||
|
||
- name: Run code-server unit tests | ||
run: yarn test:unit | ||
if: success() | ||
|
||
- name: Upload coverage report to Codecov | ||
run: yarn coverage | ||
if: success() | ||
|
@@ -404,9 +408,6 @@ jobs: | |
rm -r node_modules/playwright | ||
yarn install --check-files | ||
|
||
- name: Run end-to-end tests | ||
run: yarn test:unit | ||
|
||
Comment on lines
-407
to
-409
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No need to run unit tests twice |
||
- name: Run end-to-end tests | ||
run: yarn test:e2e | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -162,7 +162,7 @@ export const register = async ( | |
} | ||
|
||
server.on("close", () => { | ||
vscode.vscodeServer.close() | ||
vscode?.vscodeServer.close() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This prevents us trying to call |
||
}) | ||
|
||
app.use(() => { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ import * as integration from "../../../utils/integration" | |
|
||
const NOT_FOUND = { | ||
code: 404, | ||
message: "not found", | ||
message: "Not Found", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Change needed to make test pass (casing shouldn't matter). I was going to use |
||
} | ||
|
||
describe("/_static", () => { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm guessing this was removed by accident but it should be here and we need it before uploading coverage to Codecov (it outputs coverage information).