-
Notifications
You must be signed in to change notification settings - Fork 6
33 lines (31 loc) · 1.03 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Build
on:
schedule:
# Every day at 9AM EST
#- cron: '0 13 * * *'
pull_request:
branches: [ main ]
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: sh redpanda_start.sh -d
- name: Validate tables
uses: deephaven/action-assert-dh-tables-present@v1
with:
table-names: trades,quotes,candle,profile,summary,order,underlying,timeAndSale,series
host: localhost
max-retries: 10
- name: Notify Slack
uses: slackapi/slack-github-action@v1.15.0
id: notify-slack
if: ${{ failure() && github.ref == 'refs/heads/main' }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_DEVREL }}
with:
payload: '{"repository": "${{ github.repository }}", "message": "${{ github.workflow }}/${{ github.job }} failure", "link": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"}'