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

31 lines
807 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:
- uses: actions/checkout@v1
- uses: textbook/git-checkout-submodule-action@2.0.0
2019-12-02 07:56:39 +01:00
- name: test
run: ./test.sh
- name: 📧 Discord success notification
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
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 }}`'