1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Enable Windows integration tests

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Lauri Nevala 2020-06-10 11:42:34 +03:00
parent a36a279bce
commit 8f86a14d0b
2 changed files with 5 additions and 1 deletions

View File

@ -37,7 +37,10 @@ jobs:
displayName: Cache Yarn packages
- script: make deps
displayName: Install dependencies
- script: make integration-win
displayName: Run integration tests
- script: make build
condition: "and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))"
displayName: Build
env:
WIN_CSC_LINK: $(WIN_CSC_LINK)
@ -53,6 +56,7 @@ jobs:
steps:
- script: CI_BUILD_TAG=`git describe --tags` && echo "##vso[task.setvariable variable=CI_BUILD_TAG]$CI_BUILD_TAG"
displayName: Set the tag name as an environment variable
condition: "and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))"
- task: NodeTool@0
inputs:
versionSpec: $(node_version)

View File

@ -3,7 +3,7 @@ import { Application } from "spectron";
let appPath = ""
switch(process.platform) {
case "win32":
appPath = "./dist/win-unpacked/Lens.exe"
appPath = "./dist/win-unpacked/LensDev.exe"
break
case "linux":
appPath = "./dist/linux-unpacked/kontena-lens"