pandorabox-mods/.github/workflows/integration-test.yml

34 lines
845 B
YAML
Raw Normal View History

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
with:
fetch-depth: 0
submodules: recursive
2019-12-02 07:56:39 +01:00
- name: test
run: ./test.sh
- name: 📧 Discord success notification
2021-02-01 07:33:18 +01:00
continue-on-error: true
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 }}`'
- name: 📧 Discord failure notification
2021-02-01 07:33:18 +01:00
if: failure()
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 }}`'