forked from neonevm/neon-tests
-
Notifications
You must be signed in to change notification settings - Fork 3
35 lines (30 loc) · 945 Bytes
/
graph.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
34
35
name: "The Graph tests"
on:
schedule:
- cron: "0 4 * * *"
workflow_dispatch:
env:
DEVNET_FAUCET_URL: ${{ secrets.DEVNET_FAUCET_URL }}
DEVNET_SOLANA_URL: ${{ secrets.SOLANA_URL }}
jobs:
tests:
runs-on: ["self-hosted", "k8s-prod"]
name: The Graph tests
steps:
- uses: actions/checkout@v4
- name: Install python requirements
id: requirements
uses: ./.github/actions/python-requirements
- name: Prepare accounts
env:
NETWORK: devnet
id: accounts
run: |
python3 ./clickfile.py infra gen-accounts -c 3 -a 10000 -n ${{ env.NETWORK }}
- name: Trigger the Graph tests
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.GHTOKEN }}
repository: ${{ github.repository_owner }}/graph-node
event-type: integration-tests
client-payload: '{"accounts": "${{ env.ACCOUNTS }}"}'