diff --git a/.github/workflows/archery-commons.yml b/.github/workflows/archery-commons.yml new file mode 100644 index 00000000..2dc4c2ad --- /dev/null +++ b/.github/workflows/archery-commons.yml @@ -0,0 +1,23 @@ +name: archery-commons + +on: + push: + branches: + - '**' + - "!main" + paths: + - archery/** + - .github/workflows/archery-commons.yml + +jobs: + build: + uses: ./.github/workflows/maven-build.yml + with: + service: archery-commons + + test: + needs: [build] + uses: ./.github/workflows/maven-test.yml + with: + service: archery-commons + secrets: inherit diff --git a/.github/workflows/maven-test.yml b/.github/workflows/maven-test.yml index e2d68816..0b221186 100644 --- a/.github/workflows/maven-test.yml +++ b/.github/workflows/maven-test.yml @@ -31,6 +31,6 @@ jobs: run: mvn -U -B clean initialize --projects :${{ inputs.service }} --also-make - name: Test project - run: mvn -U -B test --projects :${{ inputs.service }} --also-make + run: mvn -U -B -Dtest=UnitTestSuite -Dsurefire.failIfNoSpecifiedTests=false test --projects :${{ inputs.service }} --also-make env: OPENAI_KEY: ${{ secrets.OPENAI_KEY }}