Skip to content

Commit 5a294b2

Browse files
committed
Clean up of GH workflow, run multithreaded test on GH too
1 parent b966d30 commit 5a294b2

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

.github/workflows/gradle-pr.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,12 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v4
1212

13-
- name: Set up JDK
13+
- name: Set up JDK 21
1414
uses: actions/setup-java@v4
1515
with:
1616
distribution: 'temurin'
1717
java-version: '21'
1818
cache: 'gradle'
1919

20-
- name: Grant execute permission for gradlew
21-
run: chmod +x gradlew
22-
2320
- name: Build with Gradle
2421
run: ./gradlew githubWorkflowTest --no-daemon -i

.github/workflows/gradle.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,13 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v4
1313

14-
- name: Set up JDK
14+
- name: Set up JDK 21
1515
uses: actions/setup-java@v4
1616
with:
1717
distribution: 'temurin'
1818
java-version: '21'
1919
cache: 'gradle'
2020

21-
- name: Grant execute permission for gradlew
22-
run: chmod +x gradlew
23-
2421
- name: Build with Gradle
2522
run: ./gradlew githubWorkflowTest --no-daemon -i
2623

build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jacocoTestReport {
8181
}
8282

8383
tasks.register('githubWorkflowTest', Test) {
84-
exclude '**/**AddMultithreadingTest.class'
85-
exclude '**/**BlockingQueueTest.class'
84+
// exclude '**/**AddMultithreadingTest.class'
85+
// exclude '**/**BlockingQueueTest.class'
8686
exclude '**/**DeadlockTest.class'
8787
}

0 commit comments

Comments
 (0)