Skip to content

Commit

Permalink
Fix and enable unit tests in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Di Fabio <[email protected]>
  • Loading branch information
fab-10 committed Jul 24, 2024
1 parent 0e55014 commit 48d3726
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
java-version: 21
distribution: temurin

- name: Build without tests
run: ./gradlew build -x test -x spotlessCheck
- name: Build and tests
run: ./gradlew build
env:
JAVA_OPTS: -Xmx2g -Dorg.gradle.daemon=false

Expand Down
14 changes: 7 additions & 7 deletions sequencer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@ apply from: rootProject.file("gradle/lint.gradle")
dependencies {
// annotationProcessor generates the file META-INF/services/org.hyperledger.besu.plugin.BesuPlugin
annotationProcessor 'com.google.auto.service:auto-service'
compileOnly "${besuArtifactGroup}:evm"
compileOnly 'com.google.auto.service:auto-service'
compileOnly 'com.google.auto.service:auto-service-annotations'

compileOnly "${besuArtifactGroup}:evm"
compileOnly "${besuArtifactGroup}:plugin-api"
compileOnly "${besuArtifactGroup}:besu-datatypes"
compileOnly "${besuArtifactGroup}:evm:${besuVersion}"
compileOnly "${besuArtifactGroup}:plugin-api:${besuVersion}"
compileOnly "${besuArtifactGroup}:besu-datatypes:${besuVersion}"
compileOnly "${besuArtifactGroup}.internal:api:${besuVersion}"
compileOnly "${besuArtifactGroup}.internal:core:${besuVersion}"
compileOnly "${besuArtifactGroup}.internal:rlp:${besuVersion}"
Expand All @@ -61,11 +60,12 @@ dependencies {
implementation 'org.bouncycastle:bcprov-jdk18on'
implementation 'org.hibernate.validator:hibernate-validator'

testImplementation "${besuArtifactGroup}:evm"
testImplementation "${besuArtifactGroup}:besu-datatypes"
testImplementation "${besuArtifactGroup}:evm:${besuVersion}"
testImplementation "${besuArtifactGroup}:plugin-api:${besuVersion}"
testImplementation "${besuArtifactGroup}:besu-datatypes:${besuVersion}"
testImplementation "${besuArtifactGroup}.internal:core:${besuVersion}"
testImplementation "${besuArtifactGroup}.internal:rlp:${besuVersion}"
testImplementation "${besuArtifactGroup}.internal:core:${besuVersion}"
testImplementation "${besuArtifactGroup}.internal:algorithms:${besuVersion}"
}

configurations {
Expand Down

0 comments on commit 48d3726

Please sign in to comment.