-
Notifications
You must be signed in to change notification settings - Fork 2
49 lines (40 loc) · 1.74 KB
/
regularly_check_mainnet.yml
File metadata and controls
49 lines (40 loc) · 1.74 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Regularly check mainnet
on:
workflow_dispatch:
schedule:
- cron: "0 */12 * * *"
jobs:
check-mainnet:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
with:
python-version: 3.11
- uses: actions/checkout@v4
- name: Install dependencies
run: |
pip install -r ./requirements-dev.txt
curl -sSfL https://raw.githubusercontent.com/multiversx/coinbase-mesh-cli/refs/heads/install-rename/scripts/install.sh | sh -s -- -b "$HOME/.local/bin"
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Build
run: |
cd $GITHUB_WORKSPACE/cmd/rosetta && go build .
cd $GITHUB_WORKSPACE/systemtests && go build ./proxyToObserverAdapter.go
- name: check:data (shard 0)
run: |
python3 ./systemtests/check_with_mesh_cli.py --mode=data --network=mainnet --shard=0 --num-blocks=3000
env:
MAINNET_PROXY_URL: ${{ secrets.MAINNET_PROXY_URL }}
PYTHONPATH: .
- name: check:data (shard 1)
run: |
python3 ./systemtests/check_with_mesh_cli.py --mode=data --network=mainnet --shard=1 --num-blocks=3000
env:
MAINNET_PROXY_URL: ${{ secrets.MAINNET_PROXY_URL }}
PYTHONPATH: .
- name: check:data (shard 2)
run: |
python3 ./systemtests/check_with_mesh_cli.py --mode=data --network=mainnet --shard=2 --num-blocks=3000
env:
MAINNET_PROXY_URL: ${{ secrets.MAINNET_PROXY_URL }}
PYTHONPATH: .