2019-12-02 07:56:39 +01:00
|
|
|
name: integration-test
|
|
|
|
|
2019-12-31 15:41:44 -05:00
|
|
|
on: [push, pull_request]
|
2019-12-02 07:56:39 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2020-07-27 14:19:14 +02:00
|
|
|
- uses: actions/checkout@v2
|
2020-11-22 02:27:03 +02:00
|
|
|
with:
|
2020-12-07 10:55:35 +02:00
|
|
|
fetch-depth: 0
|
2020-11-22 02:27:03 +02:00
|
|
|
submodules: recursive
|
2019-12-02 07:56:39 +01:00
|
|
|
|
|
|
|
- name: test
|
|
|
|
run: ./test.sh
|
2020-07-23 21:59:28 +02:00
|
|
|
|
|
|
|
- name: 📧 Discord success notification
|
2021-02-01 07:33:18 +01:00
|
|
|
continue-on-error: true
|
2020-07-23 21:59:28 +02:00
|
|
|
env:
|
|
|
|
DISCORD_WEBHOOK: ${{ secrets.discord_webhook }}
|
|
|
|
uses: Ilshidur/action-discord@master
|
|
|
|
with:
|
2020-07-25 21:42:54 +02:00
|
|
|
args: '☑️ Integration test passed for branch `${{ github.ref }}` and commit `${{ github.sha }}`'
|
2020-07-23 21:59:28 +02:00
|
|
|
|
|
|
|
- name: 📧 Discord failure notification
|
2021-02-01 07:33:18 +01:00
|
|
|
if: failure()
|
2020-07-23 21:59:28 +02:00
|
|
|
env:
|
|
|
|
DISCORD_WEBHOOK: ${{ secrets.discord_webhook }}
|
|
|
|
uses: Ilshidur/action-discord@master
|
|
|
|
with:
|
2020-07-25 21:42:54 +02:00
|
|
|
args: '🚫 Integration test failed for branch `${{ github.ref }}` and commit `${{ github.sha }}`'
|