Skip to content

Commit fc1b6df

Browse files
committed
ci: move notification step before codecov checks
1 parent ef545e1 commit fc1b6df

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,6 @@ 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
8476
- name: Send notifications of failing tests
8577
if: failure() && github.ref == 'refs/heads/main'
8678
uses: slackapi/[email protected]
@@ -90,3 +82,11 @@ jobs:
9082
payload: |
9183
action_url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
9284
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)