Skip to content

periodic check

periodic check #1116

Workflow file for this run

name: periodic check
on:
workflow_dispatch:
schedule:
- cron: '0 0,12 * * *'
env:
DB_PATH: ./db.sqlite
jobs:
tests:
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
tests: [xcm-transfer, acala, bridge-sdk]
runs-on: [self-hosted, linux]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Setup yarn
run: npm install -g yarn
- name: setup node env
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: 'yarn'
- run: yarn --immutable
- run: yarn update-env
- run: yarn test tests/${{ matrix.tests }}
- uses: ravsamhq/notify-slack-action@v2
if: ${{ failure() }}
with:
status: ${{ job.status }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}