Skip to content

Commit

Permalink
Fix test notifications on failure (#1152)
Browse files Browse the repository at this point in the history
  • Loading branch information
shnela committed Dec 9, 2022
1 parent c849b7e commit 81e5857
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Expand Up @@ -129,7 +129,7 @@ jobs:
e2e-tests-notify:
needs: [ e2e, e2e_management, e2e_s3_gcs, e2e_s3 ]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
if: (success() || failure()) && github.ref == 'refs/heads/master'
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/integrations.yml
Expand Up @@ -43,7 +43,7 @@ jobs:
fastai-notify:
needs: [fastai]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
if: (success() || failure()) && github.ref == 'refs/heads/master'
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
kedro-notify:
needs: [kedro]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
if: (success() || failure()) && github.ref == 'refs/heads/master'
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
prophet-notify:
needs: [prophet]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
if: (success() || failure()) && github.ref == 'refs/heads/master'
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
keras-notify:
needs: [keras]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
if: (success() || failure()) && github.ref == 'refs/heads/master'
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -216,7 +216,7 @@ jobs:
lightning-notify:
needs: [lightning]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
if: (success() || failure()) && github.ref == 'refs/heads/master'
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -260,7 +260,7 @@ jobs:
huggingface-notify:
needs: [huggingface]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
if: (success() || failure()) && github.ref == 'refs/heads/master'
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -304,7 +304,7 @@ jobs:
zenml-notify:
needs: [zenml]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
if: (success() || failure()) && github.ref == 'refs/heads/master'
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit.yml
Expand Up @@ -44,7 +44,7 @@ jobs:
unit-tests-notify:
needs: [ test ]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
if: (success() || failure()) && github.ref == 'refs/heads/master'
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down

0 comments on commit 81e5857

Please sign in to comment.