From ade82ebd8cc5a4d00e8da74c5befce38de2de709 Mon Sep 17 00:00:00 2001 From: Hamza El-Saawy Date: Mon, 19 Jun 2023 12:30:46 -0400 Subject: [PATCH] skip failing test, use gotestsum Signed-off-by: Hamza El-Saawy --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 301a13ce24..7ca7d19b12 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -432,11 +432,17 @@ jobs: run: | go build -mod vendor -o "${{ github.workspace }}/src/github.com/containerd/containerd/bin/containerd-shim-runhcs-v1.exe" .\cmd\containerd-shim-runhcs-v1 + - name: Install gotestsum + run: go install gotest.tools/gotestsum@${{ env.GOTESTSUM_VERSION }} + - name: Run containerd integration tests shell: bash working-directory: src/github.com/containerd/containerd run: | - export EXTRA_TESTFLAGS="-timeout=20m" + # TODO: when https://github.com/containerd/containerd/pull/8691 makes it into the next release (container v1.6.22?), remove the skip + # `-skip` is only available in go1.20 + export EXTRA_TESTFLAGS='-timeout=20m -run="[^(TestConvert)]"' + export GOTEST='gotestsum --format=standard-verbose --debug --' make integration - name: Run containerd CRI integration tests