1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2021-08-30 16:48:38 +03:00
parent 8a475082eb
commit 55e2355b93

View File

@ -42,52 +42,52 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-yarn- ${{ runner.os }}-yarn-
- uses: nick-invision/retry@v2 # - uses: nick-invision/retry@v2
name: Install dependencies # name: Install dependencies
with: # with:
timeout_minutes: 10 # timeout_minutes: 10
max_attempts: 3 # max_attempts: 3
retry_on: error # retry_on: error
command: make node_modules # command: make node_modules
- run: make build-npm # - run: make build-npm
name: Generate npm package # name: Generate npm package
- uses: nick-invision/retry@v2 # - uses: nick-invision/retry@v2
name: Build bundled extensions # name: Build bundled extensions
with: # with:
timeout_minutes: 15 # timeout_minutes: 15
max_attempts: 3 # max_attempts: 3
retry_on: error # retry_on: error
command: make -j2 build-extensions # command: make -j2 build-extensions
- run: make test # - run: make test
name: Run tests # name: Run tests
- run: make test-extensions # - run: make test-extensions
name: Run In-tree Extension tests # name: Run In-tree Extension tests
- run: | # - run: |
sudo apt-get update # sudo apt-get update
sudo apt-get install libgconf-2-4 conntrack -y # sudo apt-get install libgconf-2-4 conntrack -y
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 # curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube # sudo install minikube-linux-amd64 /usr/local/bin/minikube
sudo minikube start --driver=none # sudo minikube start --driver=none
# Although the kube and minikube config files are in placed $HOME they are owned by root # # Although the kube and minikube config files are in placed $HOME they are owned by root
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 # - 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 # - run: make integration
name: Run integration tests # name: Run integration tests
shell: bash # shell: bash
if: runner.os != 'Linux' # if: runner.os != 'Linux'
- run: make clean && make build - run: npm install -g node-gyp && make build
name: Test build (arm64) name: Test build (arm64)
shell: bash shell: bash
env: env: