From c58eed6e5d59208f6be2f98970e293e0f2eb7fd3 Mon Sep 17 00:00:00 2001 From: Dong-hee Na Date: Wed, 19 Apr 2023 16:15:07 +0900 Subject: [PATCH] Add extra pipeline --- .github/workflows/main.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b9bfa9cc..f300a772 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -66,3 +66,16 @@ jobs: run: python -c "import sys; print(sys.version)" - name: Run Tests run: python -u -m pyperformance.tests + - name: Notify Results + uses: actions/github-script@v5 + if: failure() && ${{ matrix.experimental }} == true + with: + github-token: ${{secrets.GITHUB_TOKEN}} + script: | + github.rest.issues.createComment({ + issue_number: context.issue.number, + owner: context.repo.owner, + repo: context.repo.repo, + body: '${{ matrix.os }} - ${{ matrix.python }} is failure but allowed as the experimental task.' + }) +