mirror of https://github.com/hyperledger/besu
An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client https://wiki.hyperledger.org/display/besu
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.4 KiB
46 lines
1.4 KiB
name: integration-tests
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request_target:
|
|
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
|
|
- name: Publish Test Report
|
|
uses: mikepenz/action-junit-report@5f47764eec0e1c1f19f40c8e60a5ba47e47015c5
|
|
if: (success() || failure())
|
|
with:
|
|
report_paths: '**/build/test-results/integrationTest/TEST-*.xml'
|
|
annotate_only: true
|
|
|
|
|
|
|