From d91e3ad819da108a487296eb24ee8df0c2ee7b9d Mon Sep 17 00:00:00 2001 From: Bruder John Date: Tue, 14 May 2024 17:59:53 +0200 Subject: [PATCH] added maven test --- .gitea/workflows/test.yml | 15 +++++++++++++++ .../{SemanticTester.java => SemanticTest.java} | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .gitea/workflows/test.yml rename src/test/java/semantic/{SemanticTester.java => SemanticTest.java} (99%) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml new file mode 100644 index 0000000..96ab991 --- /dev/null +++ b/.gitea/workflows/test.yml @@ -0,0 +1,15 @@ +name: Gitea Actions Demo +run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 +on: [push] + +jobs: + Explore-Gitea-Actions: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + - name: Run the Maven verify phase + run: mvn --batch-mode --update-snapshots verify \ No newline at end of file diff --git a/src/test/java/semantic/SemanticTester.java b/src/test/java/semantic/SemanticTest.java similarity index 99% rename from src/test/java/semantic/SemanticTester.java rename to src/test/java/semantic/SemanticTest.java index 2c27e1c..d35a93f 100644 --- a/src/test/java/semantic/SemanticTester.java +++ b/src/test/java/semantic/SemanticTest.java @@ -23,7 +23,7 @@ import java.util.List; import static org.junit.jupiter.api.Assertions.assertEquals; -public class SemanticTester { +public class SemanticTest { @BeforeEach public void init() {