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

run integration tests against real build

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2021-07-06 09:36:30 +03:00
parent 8ac3203924
commit dbfd947be4
2 changed files with 7 additions and 23 deletions

View File

@ -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'

View File

@ -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