From 3020ac7c418bb2cba6c07cb515a45457846db14f Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Wed, 11 Oct 2023 03:15:26 +0000 Subject: [PATCH 1/2] test: fix verify-helm-chart failure --- hack/verify-helm-chart.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/verify-helm-chart.sh b/hack/verify-helm-chart.sh index 337ff53e6..f5591c363 100755 --- a/hack/verify-helm-chart.sh +++ b/hack/verify-helm-chart.sh @@ -58,7 +58,7 @@ if [[ -z "$(command -v jq)" ]]; then fi # jq-equivalent for yaml -pip install yq --ignore-installed PyYAML +pip install yq --break-system-packages --ignore-installed PyYAML # Extract images from csi-blob-controller.yaml expected_csi_provisioner_image="$(cat ${PKG_ROOT}/deploy/csi-blob-controller.yaml | yq -r .spec.template.spec.containers[0].image | head -n 1)" From 49e8ff57f1cfbedd059ea0a786f779519b2a8329 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Wed, 11 Oct 2023 03:42:43 +0000 Subject: [PATCH 2/2] test: fix github action failure --- .github/workflows/linux.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linux.yaml b/.github/workflows/linux.yaml index 1cebf58ea..91d287f03 100644 --- a/.github/workflows/linux.yaml +++ b/.github/workflows/linux.yaml @@ -25,7 +25,7 @@ jobs: sudo dpkg -i packages-microsoft-prod.deb sudo apt-get update sudo apt-get install blobfuse - make verify + go test -covermode=count -coverprofile=profile.cov ./pkg/... - name: Run build test run: |