-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run regular XCM test #54
Comments
You don't actually need to write a cron job but rather write the cron job as a github action using the So something along those lines: # in .github/workflows/xcm-prod-test.yml
on:
schedule:
- cron: '30 9 * * *'
jobs:
test_interlay:
runs-on: ubuntu-latest
steps:
- name: Test XCM Interlay
run: yarn test ...
- name: Create issue
if: ${{ failure() }}
uses: actions-cool/issues-helper@v3
with:
actions: 'create-issue'
token: ${{ secrets.GITHUB_TOKEN }}
title: 'xxxx'
body: 'xxxx'
labels: 'xx' I think you can then also create an issue automatically when the workflow has failed with https://github.com/marketplace/actions/issues-helper#create-issue |
Here's the link of how to setup a matrix: https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#example-using-a-multi-dimension-matrix |
If we ignore the UI part, it'll be straight forward to test - we can just have a ts script that does a bunch of xcm transfers, and then checks if the tokens arrived. I would suggest doing this in 2 steps:
The text was updated successfully, but these errors were encountered: