mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Run integration tests against real build (#3278)
* run integration tests against real build Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * add author.email to package.json Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
ad52ec1511
commit
30bd552322
13
.github/workflows/test.yml
vendored
13
.github/workflows/test.yml
vendored
@ -77,15 +77,12 @@ jobs:
|
|||||||
sudo chown -R $USER $HOME/.kube $HOME/.minikube
|
sudo chown -R $USER $HOME/.kube $HOME/.minikube
|
||||||
name: Install integration test dependencies
|
name: Install integration test dependencies
|
||||||
if: runner.os == 'Linux'
|
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
|
name: Run Linux integration tests
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
|
|
||||||
- run: make integration-win
|
- run: make integration
|
||||||
name: Run Windows integration tests
|
name: Run integration tests
|
||||||
shell: bash
|
shell: bash
|
||||||
if: runner.os == 'Windows'
|
if: runner.os != 'Linux'
|
||||||
|
|
||||||
- run: make integration-mac
|
|
||||||
name: Run macOS integration tests
|
|
||||||
if: runner.os == 'macOS'
|
|
||||||
|
|||||||
17
Makefile
17
Makefile
@ -50,21 +50,8 @@ tag-release:
|
|||||||
test: binaries/client
|
test: binaries/client
|
||||||
yarn run jest $(or $(CMD_ARGS), "src")
|
yarn run jest $(or $(CMD_ARGS), "src")
|
||||||
|
|
||||||
.PHONY: integration-linux
|
.PHONY: integration
|
||||||
integration-linux: binaries/client build-extension-types build-extensions
|
integration: build
|
||||||
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
|
|
||||||
yarn integration
|
yarn integration
|
||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
|
|||||||
@ -8,7 +8,8 @@
|
|||||||
"copyright": "© 2021 OpenLens Authors",
|
"copyright": "© 2021 OpenLens Authors",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "OpenLens Authors"
|
"name": "OpenLens Authors",
|
||||||
|
"email": "info@k8slens.dev"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "concurrently -i -k \"yarn run dev-run -C\" yarn:dev:*",
|
"dev": "concurrently -i -k \"yarn run dev-run -C\" yarn:dev:*",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user