diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0c0d7ad7d72..06bab096f5e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -337,10 +337,13 @@ jobs: include: - os: windows-latest rid: win-x64 + runTests: true - os: ubuntu-latest rid: linux-x64 + runTests: true - os: macos-latest rid: osx-x64 + runTests: true - os: ubuntu-latest rid: win-arm64 runTests: false diff --git a/src/Bicep.MSBuild.E2eTests/src/example.ts b/src/Bicep.MSBuild.E2eTests/src/example.ts index 09dcb60eba5..b4da6ad5f8e 100644 --- a/src/Bicep.MSBuild.E2eTests/src/example.ts +++ b/src/Bicep.MSBuild.E2eTests/src/example.ts @@ -11,12 +11,12 @@ export class Example { constructor(projectName: string, projectFile?: string) { const projectDir = path.normalize( - path.join(__dirname, `../examples/${projectName}/`) + path.join(__dirname, `../examples/${projectName}/`), ); this.projectDir = projectDir; this.projectFile = path.join( projectDir, - projectFile ?? `${projectName}.proj` + projectFile ?? `${projectName}.proj`, ); } @@ -42,7 +42,7 @@ export class Example { public publish( targetFramework: string | null, - expectSuccess = true + expectSuccess = true, ): SpawnSyncReturns { return this.runMsBuild("publish", targetFramework, expectSuccess); } @@ -76,12 +76,12 @@ export class Example { private runMsBuild( verb: string, targetFramework: string | null, - expectSuccess: boolean + expectSuccess: boolean, ): SpawnSyncReturns { const runtimeSuffix = process.env.RuntimeSuffix; if (!runtimeSuffix) { throw new Error( - "Please set the RuntimeSuffix environment variable to a .net runtime ID to run these tests. Possible values: win-x64, linux-x64, osx-x64" + "Please set the RuntimeSuffix environment variable to a .net runtime ID to run these tests. Possible values: win-x64, linux-x64, osx-x64", ); } const result = spawn.sync( @@ -98,7 +98,7 @@ export class Example { cwd: this.projectDir, stdio: "pipe", encoding: "utf-8", - } + }, ); if (expectSuccess && result.status !== 0) {