Skip to content

Commit

Permalink
fix notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Feb 1, 2024
1 parent b6ae2d4 commit bcd5a81
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_shared-run-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ on:

jobs:
run_test:
name: "Run ${{ inputs.id }} with '${{ inputs.pairs }}'"
name: "Run ${{ inputs.id }}"
runs-on: ${{ inputs.worker }}
steps:
- name: Checkout Repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_shared-run-kubernetes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ on:

jobs:
run_test:
name: "Run ${{ inputs.id }} with '${{ inputs.pairs }}'"
name: "Run ${{ inputs.id }}"
runs-on: ${{ inputs.worker }}
steps:
- name: Checkout Repository
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_shared-run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
fail-fast: false
matrix:
pair: ${{ fromJson(needs.get_test.outputs.pairs) }}
name: "Run '${{ needs.get_test.outputs.name }}' in docker (#${{ matrix.pair.index }}: ${{ matrix.pair.pairs }})"
name: "with docker"
uses: ./.github/workflows/_shared-run-docker.yaml
with:
id: "${{ needs.get_test.outputs.id }}-${{ matrix.pair.index }}"
Expand All @@ -131,7 +131,7 @@ jobs:
fail-fast: false
matrix:
pair: ${{ fromJson(needs.get_test.outputs.pairs) }}
name: "Run '${{ needs.get_test.outputs.name }}' in kubernetes (#${{ matrix.pair.index }}: ${{ matrix.pair.pairs }})"
name: "with kubernetes"
uses: ./.github/workflows/_shared-run-kubernetes.yaml
with:
id: "${{ needs.get_test.outputs.id }}-${{ matrix.pair.index }}"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/run-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
run_tests:
needs: get_tests
uses: ./.github/workflows/_shared-run.yaml
name: "Run ${{ matrix.config.id }}: ${{ matrix.config.name }}"
strategy:
fail-fast: false
matrix:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/run-scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
run_tests:
needs: get_tests
uses: ./.github/workflows/_shared-run.yaml
name: "Run ${{ matrix.config.id }}: ${{ matrix.config.name }}"
strategy:
fail-fast: false
matrix:
Expand All @@ -48,7 +49,7 @@ jobs:
runs-on: ubuntu-latest
needs:
- run_tests
if: cancelled() || failure()
if: ${{ always() }}
steps:
- name: Notify
uses: nobrayner/discord-webhook@v1
Expand Down

0 comments on commit bcd5a81

Please sign in to comment.