From 8fd34e86fa28082673cf5553228fb95af11f2207 Mon Sep 17 00:00:00 2001 From: "Juan E. Arango Ossa" Date: Mon, 11 Dec 2023 19:19:03 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20modify=20github=20actions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cli-test.yml | 7 ++----- .github/workflows/risk-scores-test.yml | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cli-test.yml b/.github/workflows/cli-test.yml index 611a377..9c0b907 100644 --- a/.github/workflows/cli-test.yml +++ b/.github/workflows/cli-test.yml @@ -31,10 +31,7 @@ jobs: echo "$OUTPUT" # Check the stout for the expected output - EXPECTED="✅ Annotated file written to: test.csv\nFile annotated successfully." - if [ "$OUTPUT" = "$EXPECTED" ]; then - echo "Output matches expected" - else - echo "Output does not match expected" + if ! echo "$OUTPUT" | grep -q "File annotated successfully."; then + echo "CLI execution didn't work" exit 1 fi \ No newline at end of file diff --git a/.github/workflows/risk-scores-test.yml b/.github/workflows/risk-scores-test.yml index a3b264b..719f5f5 100644 --- a/.github/workflows/risk-scores-test.yml +++ b/.github/workflows/risk-scores-test.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - node-version: [ 14.x ] + node-version: [ 18.x ] steps: - uses: actions/checkout@v2