diff --git a/.github/workflows/maven-manual.yml b/.github/workflows/maven-manual.yml
index 539270d..d3ed678 100644
--- a/.github/workflows/maven-manual.yml
+++ b/.github/workflows/maven-manual.yml
@@ -5,7 +5,7 @@
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
-
+# test-secret=${{secrets.SECRET_NAME}}
name: Manual Test Run With Maven
on: workflow_dispatch
@@ -22,6 +22,10 @@ jobs:
java-version: '17'
distribution: 'temurin'
cache: maven
-
+ - name: Create Properties File
+ run: |
+ echo "
+ test-secret=secret
+ " >> src/test/resources/secret.properties
- name: Build & Test
run: mvn clean test
\ No newline at end of file
diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml
index 18fb33b..c18ab88 100644
--- a/.github/workflows/maven-publish.yml
+++ b/.github/workflows/maven-publish.yml
@@ -20,6 +20,11 @@ jobs:
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
+ - name: Create Properties File
+ run: |
+ echo "
+ test-secret=secret
+ " >> src/test/resources/secret.properties
- name: Build, Test & Publish
uses: ncipollo/release-action@v1
with:
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 75ad0b8..85c79c9 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -25,5 +25,10 @@ jobs:
java-version: '17'
distribution: 'temurin'
cache: maven
+ - name: Create Properties File
+ run: |
+ echo "
+ test-secret=secret
+ " >> src/test/resources/secret.properties
- name: Build & Test
run: mvn clean test
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 198890e..770ab15 100644
--- a/pom.xml
+++ b/pom.xml
@@ -197,6 +197,19 @@
2.18.3
+
+
+ org.junit.jupiter
+ junit-jupiter-api
+ 5.9.0
+ test
+
+
+ org.junit.platform
+ junit-platform-runner
+ 1.2.0
+ test
+
@@ -209,11 +222,6 @@
${buildDirectory}
-
- org.apache.maven.plugins
- maven-surefire-plugin
- 3.2.5
-
org.apache.maven.plugins