From b2041906544af0e222e0120f7b946728ca557f45 Mon Sep 17 00:00:00 2001 From: Arijit Samal <68030078+1-ARIjitS@users.noreply.github.com> Date: Sun, 8 Sep 2024 01:24:10 +0200 Subject: [PATCH] workflows and tests updated (#7) --- .github/workflows/deploy_javadoc.yml | 6 +++--- .github/workflows/maven.yml | 9 +++------ pom.xml | 8 ++++---- src/test/java/basic/TGeomPointTest.java | 2 -- 4 files changed, 10 insertions(+), 15 deletions(-) diff --git a/.github/workflows/deploy_javadoc.yml b/.github/workflows/deploy_javadoc.yml index 0b7f957b2..43b6ed733 100644 --- a/.github/workflows/deploy_javadoc.yml +++ b/.github/workflows/deploy_javadoc.yml @@ -3,8 +3,8 @@ name: Deploy Javadoc to GitHub Pages on: push: branches: - - JMEOS-working - + - main + jobs: build: runs-on: ubuntu-latest @@ -40,4 +40,4 @@ jobs: uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: target/site/apidocs \ No newline at end of file + publish_dir: target/site/apidocs diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index f47dd2f66..7d41c0109 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -2,12 +2,9 @@ name: Java CI with Maven on: push: - branches: - - main - - JMEOS-working + branches-ignore: gh-pages pull_request: - branches: - - main + branches-ignore: gh-pages jobs: build: @@ -106,4 +103,4 @@ jobs: # Build Maven project - name: Build with Maven - run: mvn clean install \ No newline at end of file + run: mvn clean install diff --git a/pom.xml b/pom.xml index 9a5bd36b3..a27836f0c 100644 --- a/pom.xml +++ b/pom.xml @@ -72,10 +72,10 @@ maven-surefire-plugin 3.4.0 - 4 - true - - + + + + true diff --git a/src/test/java/basic/TGeomPointTest.java b/src/test/java/basic/TGeomPointTest.java index 4a32115ff..93c38707f 100644 --- a/src/test/java/basic/TGeomPointTest.java +++ b/src/test/java/basic/TGeomPointTest.java @@ -696,8 +696,6 @@ void testFromStringConstructor(TGeomPoint source, String type, TInterpolation in assertEquals(interpolation, ti.interpolation()); assertEquals(ti.to_string(),expected); } -// TPointInst i = new TPointInst("Point(1 1)@2019-09-01"); - System.out.println(i.to_string()); }