diff --git a/.github/workflows/publish_notselfhosted.yml b/.github/workflows/publish_notselfhosted.yml index 5500ee3f..4e8a8808 100644 --- a/.github/workflows/publish_notselfhosted.yml +++ b/.github/workflows/publish_notselfhosted.yml @@ -24,7 +24,7 @@ jobs: uses: actions/setup-java@v2 with: java-version: '17' - distribution: 'adopt' + distribution: 'oracle' cache: maven - name: Debug info diff --git a/pom.xml b/pom.xml index a7d1fb0e..3fcfbeab 100644 --- a/pom.xml +++ b/pom.xml @@ -24,6 +24,11 @@ launcher ${project.version} + + org.testng + testng + test + \ No newline at end of file diff --git a/src/test/java/com/bar/foo/MySampleUnitTest.java b/src/test/java/com/bar/foo/MySampleUnitTest.java new file mode 100644 index 00000000..3d4b57be --- /dev/null +++ b/src/test/java/com/bar/foo/MySampleUnitTest.java @@ -0,0 +1,16 @@ +package com.bar.foo; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.testng.annotations.Test; + +public class MySampleUnitTest { + + private static final Logger log = LoggerFactory.getLogger(MySampleUnitTest.class); + + @Test + void sampleTest() { + log.info("Running sample test"); + } + +}