Skip to content

Add metrics to DefaultBlockchain to get TPS and Mgas/s #2236

Add metrics to DefaultBlockchain to get TPS and Mgas/s

Add metrics to DefaultBlockchain to get TPS and Mgas/s #2236

name: integration-tests
on:
workflow_dispatch:
pull_request:
branches:
- main
- release-*
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
GRADLE_OPTS: "-Xmx6g -Dorg.gradle.daemon=false -Dorg.gradle.parallel=true -Dorg.gradle.caching=true"
jobs:
integration-tests:
name: "integration-passed"
runs-on: ubuntu-22.04
permissions:
statuses: write
checks: write
steps:
- name: Checkout Repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
- name: Set up Java
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93
with:
distribution: temurin
java-version: 17
- name: setup gradle
uses: gradle/actions/setup-gradle@9e899d11ad247ec76be7a60bc1cf9d3abbb9e7f1
with:
cache-disabled: true
- name: run integration tests
run: ./gradlew integrationTest compileJmh