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

disable spectron on linux

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2020-06-08 11:50:12 +03:00
parent e42d2e1198
commit d866a37260
2 changed files with 7 additions and 8 deletions

View File

@ -121,10 +121,10 @@ jobs:
displayName: Lint
- script: make test
displayName: Run tests
- script: sudo apt-get update && sudo apt-get install libgconf-2-4 -y
displayName: Install integration test dependencies
- script: xvfb-run --auto-servernum --server-args='-screen 0, 1600x900x24' make integration-linux
displayName: Run integration tests
# - script: sudo apt-get update && sudo apt-get install libgconf-2-4 -y
# displayName: Install integration test dependencies
# - script: xvfb-run --auto-servernum --server-args='-screen 0, 1600x900x24' make integration-linux
# displayName: Run integration tests
- bash: |
sudo chown root:root /
sudo apt-get update && sudo apt-get install -y snapd

View File

@ -1,16 +1,15 @@
import { Application } from "spectron";
import * as path from "path"
let appPath = ""
switch(process.platform) {
case "win32":
appPath = path.join("./dist/win-unpacked/Lens.exe")
appPath = "./dist/win-unpacked/Lens.exe"
break
case "linux":
appPath = path.join("./dist/linux-unpacked/kontena-lens")
appPath = "./dist/linux-unpacked/kontena-lens"
break
case "darwin":
appPath = path.join("./dist/mac/LensDev.app/Contents/MacOS/LensDev")
appPath = "./dist/mac/LensDev.app/Contents/MacOS/LensDev"
break
}