diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c5da6a547..3b9309372 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,20 +3,19 @@ run-name: ${{ github.actor }} has launched CI process on ${{ github.ref_name }} on: push: branches: - - "main" - - "develop" + - "feature/publish-test-report" + # - "main" + # - "develop" pull_request: branches: - - "main" - - "develop" + - "feature/publish-test-report" + # - "main" + # - "develop" jobs: Continuous-Integration-Actions: runs-on: self-hosted - env: - PACKAGE_TOKEN: ${{ secrets.JLS_TOKEN }} - steps: - name: Checkout of head id: ci-sources-checkout @@ -36,18 +35,8 @@ jobs: - name: Gradle tests run: ./gradlew test - - name: Get test artifacts - if: ${{ failure() }} - uses: actions/upload-artifact@v4 + - name: Publish Test Report + uses: mikepenz/action-junit-report@v4 + if: success() || failure() # always run even if the previous step fails with: - name: Package - path: | - **/build/reports/ - **/build/test-results/ - - - name: Final Step - id: ci-final-step - run: | - echo "This job's status is ${{ job.status }}." - echo "Created jar file(s):" - find ./build -name '*.jar' + report_paths: '**/build/test-results/test/TEST-*.xml'