Skip to content
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file removed .circleci/config.yml
Empty file.
6 changes: 2 additions & 4 deletions .github/workflows/acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ env:

jobs:
runner-indexes:
runs-on:
group: "Besu Large Runners"
runs-on: ubuntu-22.04
name: Generate runner indexes
outputs:
json: ${{ steps.generate-index-list.outputs.json }}
Expand All @@ -23,8 +22,7 @@ jobs:
INDEX_JSON=$(jq --null-input --compact-output '. |= [inputs]' <<< ${INDEX_LIST})
echo "::set-output name=json::${INDEX_JSON}"
acceptanceTestEthereum:
runs-on:
group: "Besu Large Runners"
runs-on: ubuntu-22.04
name: "Acceptance Runner #${{ matrix.runner-index }}: Run acceptance tests in parallel"
needs:
- runner-indexes
Expand Down
20 changes: 16 additions & 4 deletions .github/workflows/pre-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: pre-review

on:
pull_request:
workflow_dispatch:

env:
GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true
Expand Down Expand Up @@ -51,13 +52,23 @@ jobs:
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v2.10.0
- name: Run Build
- name: Gradle Compile
run: ./gradlew build -x test -x spotlessCheck -Dorg.gradle.parallel=true -Dorg.gradle.caching=true
unitTests:
runs-on: besu-research-ubuntu-8
env:
GRADLEW_UNIT_TEST_ARGS: ${{matrix.gradle_args}}
runs-on: ubuntu-22.04
needs: [ compile ]
permissions:
checks: write
strategy:
fail-fast: false
matrix:
gradle_args:
- "test -x besu:test -x consensus:test -x crypto:test -x ethereum:eth:test -x ethereum:api:test -x ethereum:core:test"
- "besu:test consensus:test crypto:test"
- "ethereum:api:test"
- "ethereum:core:test"
steps:
- name: Checkout Repo
uses: actions/checkout@v3
Expand All @@ -67,8 +78,9 @@ jobs:
distribution: adopt
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
run: ./gradlew build -Dorg.gradle.parallel=true -Dorg.gradle.caching=true
uses: gradle/gradle-build-action@v2.10.0
- name: run unit tests
run: ./gradlew $GRADLEW_UNIT_TEST_ARGS -Dorg.gradle.parallel=true -Dorg.gradle.caching=true
- name: Upload Test Report
uses: actions/upload-artifact@v3
if: always() # always run even if the previous step fails
Expand Down