diff --git a/.github/workflows/system-tests.yml b/.github/workflows/system-tests.yml index 2105aea44..6807c233c 100644 --- a/.github/workflows/system-tests.yml +++ b/.github/workflows/system-tests.yml @@ -21,6 +21,10 @@ on: description: 'TRUE or FALSE (FALSE -> Upload only when the workflow fails)' default: 'TRUE' type: string + secrets: + MATRIX_BOT_PASSWORD: + required: true + jobs: run_system_tests: runs-on: [self-hosted, linux, x64, precice-tests-vm] @@ -98,3 +102,11 @@ jobs: name: system_tests_run_${{ github.run_id }}_${{ github.run_attempt }}_full path: | runs/* + - name: Notify maintainers + if: ${{ failure() }} + uses: precice/notify-action@v1 + with: + homeserver: ${{ vars.MATRIX_BOT_HOMESERVER }} + login: ${{ vars.MATRIX_BOT_LOGIN }} + password: ${{ secrets.MATRIX_BOT_PASSWORD }} + room_id: ${{ vars.MATRIX_BOT_ROOMID }}