2020-04-14 15:06:41 +03:00
|
|
|
name: integration-test
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
2020-12-14 11:44:17 +03:00
|
|
|
runs-on: ubuntu-20.04
|
2020-04-14 15:06:41 +03:00
|
|
|
timeout-minutes: 10
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
|
|
|
|
- name: integration-test
|
|
|
|
run: ./integration-test.sh
|
2020-08-30 19:10:41 +03:00
|
|
|
|
|
|
|
- name: 📧 Discord success notification
|
|
|
|
env:
|
|
|
|
DISCORD_WEBHOOK: ${{ secrets.discord_webhook }}
|
|
|
|
uses: Ilshidur/action-discord@master
|
|
|
|
with:
|
|
|
|
args: '☑️ Integration test passed for branch `${{ github.ref }}` and commit `${{ github.sha }}`'
|
|
|
|
|
|
|
|
- name: 📧 Discord failure notification
|
|
|
|
if: failure()
|
|
|
|
env:
|
|
|
|
DISCORD_WEBHOOK: ${{ secrets.discord_webhook }}
|
|
|
|
uses: Ilshidur/action-discord@master
|
|
|
|
with:
|
|
|
|
args: '🚫 Integration test failed for branch `${{ github.ref }}` and commit `${{ github.sha }}`'
|