-
Notifications
You must be signed in to change notification settings - Fork 75
50 lines (43 loc) · 1.29 KB
/
dev-tool-test.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Dev Tool Tests
on:
pull_request:
branches: [ main, release/** ]
push:
branches: [ main, release/** ]
tags: [ v* ]
concurrency:
group: pr-checks-${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
hardhat:
name: Hardhat
uses: ./.github/workflows/dev-tool-workflow.yml
with:
command: cd ./tools/hardhat-example/ && npx hardhat test
directory: ./tools/hardhat-example
truffle:
name: Truffle
uses: ./.github/workflows/dev-tool-workflow.yml
needs: hardhat
with:
command: cd ./tools/truffle-example/ && npx truffle test
directory: ./tools/truffle-example
web3js:
name: Web3js
uses: ./.github/workflows/dev-tool-workflow.yml
needs: [ hardhat, truffle]
with:
command: cd ./tools/web3js-example/ && npm run test
directory: ./tools/web3js-example
golang-http:
name: Golang HTTP
uses: ./.github/workflows/dev-tool-workflow.yml
with:
command: cd ./tools/golang-json-rpc-tests/ && go run .
directory: ./tools/golang-json-rpc-tests
golang-wss:
name: Golang WSS
uses: ./.github/workflows/dev-tool-workflow.yml
with:
command: cd ./tools/golang-json-rpc-tests/ && go run . --wss
directory: ./tools/golang-json-rpc-tests