Archived
1
0

refactor: switch to codecov-uploader GitHub Action (#5303)

* refactor: switch to codecov-uploader GitHub Action

codecov deprecated their Node wrapper for uploading coverage reports.

This removes that and uses their new uploaded along with the v2 GitHub
Action they maintain.

* fix: update broken integration test
This commit is contained in:
Joe Previte
2022-06-28 10:04:35 -07:00
committed by GitHub
parent c51ff3bce1
commit 1296848afc
4 changed files with 8 additions and 78 deletions

View File

@ -1,6 +1,6 @@
import extract from "extract-zip"
import { rename } from "fs/promises"
import path from "path"
import extract from "extract-zip"
import { clean, tmpdir } from "../utils/helpers"
import { runCodeServerCommand } from "../utils/runCodeServerCommand"
@ -21,7 +21,7 @@ describe("--list-extensions", () => {
const pathToUnpackedExtension = path.join(tempDir, `${extName}-${extVersion}`)
const tempPathToUnpackedExtension = path.join(tempDir, `${extName}-temp`)
await extract(extensionFixture, { dir: tempPathToUnpackedExtension })
await rename(path.join(tempPathToUnpackedExtension, "extension", pathToUnpackedExtension))
await rename(path.join(tempPathToUnpackedExtension, "extension"), pathToUnpackedExtension)
})
it("should list installed extensions", async () => {
const { stdout } = await runCodeServerCommand([...setupFlags, "--list-extensions"])