Skip to content

Commit

Permalink
wip...
Browse files Browse the repository at this point in the history
  • Loading branch information
pruivo committed Nov 10, 2023
1 parent 612971a commit 4c30234
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/jdk21_vthread.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Java 21 CI with Virtual Threads

on:
push:
branches: [ "main", "t_jdk21_gha" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build
run: ./mvnw install --settings maven-settings.xml --batch-mode -DskipTests
- name: Test
run: ./mvnw verify --settings maven-settings.xml --batch-mode --fail-at-end -Dmaven.test.failure.ignore=true -Pvthreads-tests
env:
MAVEN_OPTS: '-Xmx1500m -XX:+HeapDumpOnOutOfMemoryError'
- name: Publish Test Report
if: success() || failure()
uses: scacap/action-surefire-report@v1
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
- name: Update dependency graph
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3251,6 +3251,7 @@
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<defaultTestNGGroups>smoke</defaultTestNGGroups>
<org.infinispan.tests.threads.virtual>true</org.infinispan.tests.threads.virtual>
<infinispan.test.parallel.threads>${system.numCores}</infinispan.test.parallel.threads>
</properties>
Expand Down

0 comments on commit 4c30234

Please sign in to comment.