Skip to content

move builds to newer versions #4

move builds to newer versions

move builds to newer versions #4

Workflow file for this run

name: Besu Tests
on:
# push:
# paths:
# - 'benchmarks/scenario/ERC-20/**'
# - 'benchmarks/scenario/ERC-721/**'
# - 'benchmarks/scenario/simple/**'
# - 'networks/besu/1node-clique/**'
# - 'src/ethereum/ERC-20/**'
# - 'src/ethereum/ERC-721/**'
# - 'src/ethereum/simple/**'
pull_request:
paths:
- '.github/workflows/besu-tests.yaml'
- 'benchmarks/scenario/ERC-20/**'
- 'benchmarks/scenario/ERC-721/**'
- 'benchmarks/scenario/simple/**'
- 'networks/besu/1node-clique/**'
- 'src/ethereum/ERC-20/**'
- 'src/ethereum/ERC-721/**'
- 'src/ethereum/simple/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Run commands
run: |
npm install --only=prod @hyperledger/[email protected]
npx caliper bind --caliper-bind-sut besu:latest
npx caliper --version
npx caliper launch manager \
--caliper-benchconfig benchmarks/scenario/ERC-20/config.yaml \
--caliper-networkconfig networks/besu/1node-clique/erc20networkconfig.json \
--caliper-workspace .
npx caliper launch manager \
--caliper-benchconfig benchmarks/scenario/ERC-721/config.yaml \
--caliper-networkconfig networks/besu/1node-clique/erc721networkconfig.json \
--caliper-workspace .
npx caliper launch manager --caliper-benchconfig benchmarks/scenario/simple/config.yaml --caliper-networkconfig networks/besu/1node-clique/networkconfig.json --caliper-workspace .