From d5c4c1ce4b8ae881bc624f234ce1a97f0c62058f Mon Sep 17 00:00:00 2001 From: gitjiho Date: Wed, 13 Nov 2024 19:12:05 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=81=B4=EB=A6=B0=ED=85=8C=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8=EB=A1=9C=20=EB=B3=80=EA=B2=BD=20=EB=B0=8F=20=EC=83=81?= =?UTF-8?q?=ED=83=9C=EA=B2=BD=EB=A1=9C=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/testcode.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testcode.yml b/.github/workflows/testcode.yml index ac68e75..f94907b 100644 --- a/.github/workflows/testcode.yml +++ b/.github/workflows/testcode.yml @@ -62,7 +62,7 @@ jobs: env: SLACK_WEBHOOK_URL: ${{ secrets.TEST_CODE_SLACK_WEBHOOK_URL }} run: | - TEST_RESULT=$(grep -E "Tests run: [0-9]+, Failures: [0-9]+, Errors: [0-9]+, Skipped: [0-9]+" build/test-results/test/test-*.xml) + TEST_RESULT=$(grep -E "Tests run: [0-9]+, Failures: [0-9]+, Errors: [0-9]+, Skipped: [0-9]+"**/build/test-results/test/test-*.xml) if echo "$TEST_RESULT" | grep -q "Failures: 0, Errors: 0"; then curl -X POST -H 'Content-type: application/json' --data '{"text": "✅ *테스트 성공* - 모든 테스트가 통과되었습니다.\n'"$TEST_RESULT"'"}' $SLACK_WEBHOOK_URL