Unverified Commit 30bd5523 authored by Jari Kolehmainen's avatar Jari Kolehmainen Committed by GitHub
Browse files

Run integration tests against real build (#3278)


* run integration tests against real build
Signed-off-by: default avatarJari Kolehmainen <jari.kolehmainen@gmail.com>

* add author.email to package.json
Signed-off-by: default avatarJari Kolehmainen <jari.kolehmainen@gmail.com>
parent ad52ec15
Showing with 9 additions and 24 deletions
+9 -24
......@@ -77,15 +77,12 @@ jobs:
sudo chown -R $USER $HOME/.kube $HOME/.minikube
name: Install integration test dependencies
if: runner.os == 'Linux'
- run: xvfb-run --auto-servernum --server-args='-screen 0, 1600x900x24' make integration-linux
- run: xvfb-run --auto-servernum --server-args='-screen 0, 1600x900x24' make integration
name: Run Linux integration tests
if: runner.os == 'Linux'
- run: make integration-win
name: Run Windows integration tests
- run: make integration
name: Run integration tests
shell: bash
if: runner.os == 'Windows'
- run: make integration-mac
name: Run macOS integration tests
if: runner.os == 'macOS'
if: runner.os != 'Linux'
......@@ -50,21 +50,8 @@ tag-release:
test: binaries/client
yarn run jest $(or $(CMD_ARGS), "src")
.PHONY: integration-linux
integration-linux: binaries/client build-extension-types build-extensions
yarn build:linux
yarn integration
.PHONY: integration-mac
integration-mac: binaries/client build-extension-types build-extensions
# rm ${HOME}/Library/Application\ Support/Lens
yarn build:mac
yarn integration
.PHONY: integration-win
integration-win: binaries/client build-extension-types build-extensions
# rm %APPDATA%/Lens
yarn build:win
.PHONY: integration
integration: build
yarn integration
.PHONY: build
......
......@@ -8,7 +8,8 @@
"copyright": "© 2021 OpenLens Authors",
"license": "MIT",
"author": {
"name": "OpenLens Authors"
"name": "OpenLens Authors",
"email": "info@k8slens.dev"
},
"scripts": {
"dev": "concurrently -i -k \"yarn run dev-run -C\" yarn:dev:*",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment