From 80cbd85c7103e7e0a1895e91fce9cd00389d7abd Mon Sep 17 00:00:00 2001 From: m1a2st Date: Wed, 20 Sep 2023 20:57:36 +0800 Subject: [PATCH] :add mvn test in CI --- .github/workflows/sonar_pr.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/sonar_pr.yml b/.github/workflows/sonar_pr.yml index 98230cd4..fc51bf67 100644 --- a/.github/workflows/sonar_pr.yml +++ b/.github/workflows/sonar_pr.yml @@ -31,6 +31,8 @@ jobs: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2 + - name: Maven Test + run: mvn -B test - name: Build and analyze env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any