Skip to content

Commit

Permalink
fix: 클린테스트로 변경 및 상태경로로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
GitJIHO committed Nov 13, 2024
1 parent 2bf0f02 commit d5c4c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/testcode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d5c4c1c

Please sign in to comment.