mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
test
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
8a475082eb
commit
55e2355b93
76
.github/workflows/test.yml
vendored
76
.github/workflows/test.yml
vendored
@ -42,52 +42,52 @@ jobs:
|
||||
restore-keys: |
|
||||
${{ runner.os }}-yarn-
|
||||
|
||||
- uses: nick-invision/retry@v2
|
||||
name: Install dependencies
|
||||
with:
|
||||
timeout_minutes: 10
|
||||
max_attempts: 3
|
||||
retry_on: error
|
||||
command: make node_modules
|
||||
# - uses: nick-invision/retry@v2
|
||||
# name: Install dependencies
|
||||
# with:
|
||||
# timeout_minutes: 10
|
||||
# max_attempts: 3
|
||||
# retry_on: error
|
||||
# command: make node_modules
|
||||
|
||||
- run: make build-npm
|
||||
name: Generate npm package
|
||||
# - run: make build-npm
|
||||
# name: Generate npm package
|
||||
|
||||
- uses: nick-invision/retry@v2
|
||||
name: Build bundled extensions
|
||||
with:
|
||||
timeout_minutes: 15
|
||||
max_attempts: 3
|
||||
retry_on: error
|
||||
command: make -j2 build-extensions
|
||||
# - uses: nick-invision/retry@v2
|
||||
# name: Build bundled extensions
|
||||
# with:
|
||||
# timeout_minutes: 15
|
||||
# max_attempts: 3
|
||||
# retry_on: error
|
||||
# command: make -j2 build-extensions
|
||||
|
||||
- run: make test
|
||||
name: Run tests
|
||||
# - run: make test
|
||||
# name: Run tests
|
||||
|
||||
- run: make test-extensions
|
||||
name: Run In-tree Extension tests
|
||||
# - run: make test-extensions
|
||||
# name: Run In-tree Extension tests
|
||||
|
||||
- run: |
|
||||
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
|
||||
# Although the kube and minikube config files are in placed $HOME they are owned by root
|
||||
sudo chown -R $USER $HOME/.kube $HOME/.minikube
|
||||
name: Install integration test dependencies
|
||||
if: runner.os == 'Linux'
|
||||
# - run: |
|
||||
# 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
|
||||
# # Although the kube and minikube config files are in placed $HOME they are owned by root
|
||||
# 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
|
||||
name: Run Linux integration tests
|
||||
if: runner.os == '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
|
||||
name: Run integration tests
|
||||
shell: bash
|
||||
if: runner.os != 'Linux'
|
||||
# - run: make integration
|
||||
# name: Run integration tests
|
||||
# shell: bash
|
||||
# if: runner.os != 'Linux'
|
||||
|
||||
- run: make clean && make build
|
||||
- run: npm install -g node-gyp && make build
|
||||
name: Test build (arm64)
|
||||
shell: bash
|
||||
env:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user