chore: cherry pick #3368 fix: added polling logic to ensure the retri… #8238
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |