Integration tests using spectron (#410)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen authored and GitHub committed 2020-06-09 13:18:24 +03:00
1 parent af24da976b
commit deb4bf2f7b
9 files changed
+513 -29

No files matched your search

+12 -1
View File
@@ -44,7 +44,6 @@ jobs:
WIN_CSC_KEY_PASSWORD: $(WIN_CSC_KEY_PASSWORD)
GH_TOKEN: $(GH_TOKEN)
- job: macOS
condition: "and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))"
pool:
vmImage: macOS-10.14
strategy:
@@ -75,7 +74,10 @@ jobs:
displayName: Lint
- script: make test
displayName: Run tests
- script: make integration-mac
displayName: Run integration tests
- script: make build
condition: "and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))"
displayName: Build
env:
APPLEID: $(APPLEID)
@@ -119,6 +121,15 @@ jobs:
displayName: Lint
- script: make test
displayName: Run tests
- bash: |
sudo apt-get update
sudo apt-get install libgconf-2-4 conntrack -y
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube
sudo minikube start --driver=none
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