Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,12 @@ jobs:
run: |
git config --global init.defaultBranch main
python -m pytest tests -o log_cli=true -vv --python_version ${{ matrix.python-version }}
notify:
needs: build
runs-on: ubuntu-latest
if: ${{ always() && needs.build.result == 'failure' && github.event_name != 'workflow_dispatch' }}
steps:
- name: Send status to Slack app
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}
id: slack
uses: slackapi/slack-github-action@v4
with:
Expand All @@ -63,7 +67,7 @@ jobs:
"type": "section",
"text": {
"type": "mrkdwn",
"text": "GitHub Action build result: *${{ job.status }}* :${{ job.status }}:"
"text": "GitHub Action build result: *${{ needs.build.result }}* :x:"
}
},
{
Expand Down
Loading