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:
parent
e42d2e1198
commit
d866a37260
@ -121,10 +121,10 @@ jobs:
|
|||||||
displayName: Lint
|
displayName: Lint
|
||||||
- script: make test
|
- script: make test
|
||||||
displayName: Run tests
|
displayName: Run tests
|
||||||
- script: sudo apt-get update && sudo apt-get install libgconf-2-4 -y
|
# - script: sudo apt-get update && sudo apt-get install libgconf-2-4 -y
|
||||||
displayName: Install integration test dependencies
|
# displayName: Install integration test dependencies
|
||||||
- script: xvfb-run --auto-servernum --server-args='-screen 0, 1600x900x24' make integration-linux
|
# - script: xvfb-run --auto-servernum --server-args='-screen 0, 1600x900x24' make integration-linux
|
||||||
displayName: Run integration tests
|
# displayName: Run integration tests
|
||||||
- bash: |
|
- bash: |
|
||||||
sudo chown root:root /
|
sudo chown root:root /
|
||||||
sudo apt-get update && sudo apt-get install -y snapd
|
sudo apt-get update && sudo apt-get install -y snapd
|
||||||
|
|||||||
@ -1,16 +1,15 @@
|
|||||||
import { Application } from "spectron";
|
import { Application } from "spectron";
|
||||||
import * as path from "path"
|
|
||||||
|
|
||||||
let appPath = ""
|
let appPath = ""
|
||||||
switch(process.platform) {
|
switch(process.platform) {
|
||||||
case "win32":
|
case "win32":
|
||||||
appPath = path.join("./dist/win-unpacked/Lens.exe")
|
appPath = "./dist/win-unpacked/Lens.exe"
|
||||||
break
|
break
|
||||||
case "linux":
|
case "linux":
|
||||||
appPath = path.join("./dist/linux-unpacked/kontena-lens")
|
appPath = "./dist/linux-unpacked/kontena-lens"
|
||||||
break
|
break
|
||||||
case "darwin":
|
case "darwin":
|
||||||
appPath = path.join("./dist/mac/LensDev.app/Contents/MacOS/LensDev")
|
appPath = "./dist/mac/LensDev.app/Contents/MacOS/LensDev"
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user