From 9f246895cd5662cf0a2de5b15d0036c990b7b342 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Berland?= Date: Fri, 13 Dec 2024 12:35:24 +0100 Subject: [PATCH] Avoid version specific sed syntax The argument to sed prior to this change triggers something in sed version 4.6 or 4.7 --- .github/workflows/test_ert.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_ert.yml b/.github/workflows/test_ert.yml index bca318e5a42..0cb91c50476 100644 --- a/.github/workflows/test_ert.yml +++ b/.github/workflows/test_ert.yml @@ -69,8 +69,8 @@ jobs: - name: Test for a clean repository run: | # Run this before the 'Test CLI' entry below, which produces a few files that are accepted for now. Exclude the wheel. - git status --porcelain | sed '/ert.*.whl$\|\/block_storage$/d' - test -z "$(git status --porcelain | sed '/ert.*.whl$\\|\\/block_storage$/d')" + git status --porcelain | grep -v -e 'ert.*.whl' | grep -v 'block_storage' + test -z "$(git status --porcelain | grep -v -e 'ert.*.whl' | grep -v 'block_storage')" - name: Upload coverage to Codecov id: codecov1