Skip to content

Commit dc60f1e

Browse files
committed
ci: revert to last step of ci with errors
1 parent d5686ef commit dc60f1e

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/tests.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,20 +73,21 @@ jobs:
7373
run: |
7474
pytest tests/slack_bolt_async/ --junitxml=reports/test_slack_bolt_async.xml
7575
pytest tests/scenario_tests_async/ --junitxml=reports/test_scenario_async.xml
76+
- name: Upload test results to Codecov
77+
if: ${{ !cancelled() }}
78+
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
79+
with:
80+
directory: ./reports/
81+
flags: ${{ matrix.python-version }}
82+
token: ${{ secrets.CODECOV_TOKEN }}
83+
verbose: true
7684
- name: Send notifications of failing tests
7785
if: failure() && github.ref == 'refs/heads/main'
7886
uses: slackapi/slack-github-action@b0fa283ad8fea605de13dc3f449259339835fc52 # v2.1.0
7987
with:
88+
errors: true
8089
webhook: ${{ secrets.SLACK_REGRESSION_FAILURES_WEBHOOK_URL }}
8190
webhook-type: webhook-trigger
8291
payload: |
8392
action_url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
8493
repository: "${{ github.repository }}"
85-
- name: Upload test results to Codecov
86-
if: ${{ !cancelled() }}
87-
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
88-
with:
89-
directory: ./reports/
90-
flags: ${{ matrix.python-version }}
91-
token: ${{ secrets.CODECOV_TOKEN }}
92-
verbose: true

0 commit comments

Comments
 (0)