From 14a059a66855715a7792cc5c5e795b8859f98eba Mon Sep 17 00:00:00 2001 From: Younes Belkada <49240599+younesbelkada@users.noreply.github.com> Date: Tue, 4 Jun 2024 11:58:11 +0200 Subject: [PATCH] Update tests-main.yml --- .github/workflows/tests-main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/tests-main.yml b/.github/workflows/tests-main.yml index 1b4d4bc54c..7fbc3670d3 100644 --- a/.github/workflows/tests-main.yml +++ b/.github/workflows/tests-main.yml @@ -26,3 +26,11 @@ jobs: - name: Test with pytest run: | make test + - name: Post to Slack + if: always() + uses: huggingface/hf-workflows/.github/actions/post-slack@main + with: + slack_channel: ${{ secrets.SLACK_CHANNEL_ID }} + title: 🤗 Results of transformers main tests + status: ${{ job.status }} + slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}