From 2739084495da9132118f56017935d134e0909c6b Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Mon, 30 Jan 2023 16:15:22 +0100 Subject: [PATCH] chore: ensure sharness fails on breaking changes (#138) --- .github/workflows/gateway-sharness.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gateway-sharness.yml b/.github/workflows/gateway-sharness.yml index a3d88d8ae..237cb3cee 100644 --- a/.github/workflows/gateway-sharness.yml +++ b/.github/workflows/gateway-sharness.yml @@ -38,10 +38,11 @@ jobs: run: | go mod edit -replace=github.com/ipfs/go-libipfs=../go-libipfs go mod tidy + cat go.mod working-directory: kubo - name: Install sharness dependencies run: make test_sharness_deps working-directory: kubo - name: Run Sharness Tests - run: find . -maxdepth 1 -name "*gateway*" -exec {} \; + run: find . -maxdepth 1 -name "*gateway*.sh" -print0 | xargs -0 -I {} bash -c "echo {}; {}" working-directory: kubo/test/sharness