From 3f8832921940658c074f7da652220f1c4ca44b28 Mon Sep 17 00:00:00 2001 From: URLeeo Date: Thu, 14 May 2026 17:30:17 +0400 Subject: [PATCH 1/2] added GitHub Actions workflow for Maven build and tests --- .github/workflows/ci.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..17d9595 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,35 @@ +name: Quantix CI + +on: + push: + branches: + - master + + pull_request: + branches: + - master + +jobs: + build-and-test: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '17' + + - name: Cache Maven dependencies + uses: actions/cache@v4 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + + - name: Build and test + run: mvn clean verify \ No newline at end of file From 83c42ca116953cc34141e5287157b001202bd145 Mon Sep 17 00:00:00 2001 From: URLeeo Date: Thu, 14 May 2026 17:35:09 +0400 Subject: [PATCH 2/2] Removed Unnecessary test class --- .../example/quantix/QuantixApplicationTests.java | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 src/test/java/org/example/quantix/QuantixApplicationTests.java diff --git a/src/test/java/org/example/quantix/QuantixApplicationTests.java b/src/test/java/org/example/quantix/QuantixApplicationTests.java deleted file mode 100644 index 1bdad44..0000000 --- a/src/test/java/org/example/quantix/QuantixApplicationTests.java +++ /dev/null @@ -1,13 +0,0 @@ -package org.example.quantix; - -import org.junit.jupiter.api.Test; -import org.springframework.boot.test.context.SpringBootTest; - -@SpringBootTest -class QuantixApplicationTests { - - @Test - void contextLoads() { - } - -}