diff --git a/.github/workflows/test-reporter.yml b/.github/workflows/test-reporter.yml deleted file mode 100644 index 33007ad7..00000000 --- a/.github/workflows/test-reporter.yml +++ /dev/null @@ -1,25 +0,0 @@ ---- -## Workflow to process the JUnit test results and add a report to the checks. -name: test-reporter -on: - workflow_run: - workflows: - - test - types: - - completed - -permissions: - contents: read - actions: read - checks: write - -jobs: - report: - runs-on: ubuntu-latest - steps: - - uses: elastic/oblt-actions/test-report@476391c0e6815110ce488b8b09c80ed61848a28a # v1 - with: - artifact: /test-results(.*)/ - name: 'Test Report $1' - path: "*-junit-report.xml" # Path to test results (inside artifact .zip) - reporter: java-junit # Format of test results diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 71d01653..32180c01 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,12 +37,7 @@ jobs: - name: Bootstrap Action Workspace uses: ./.github/actions/bootstrap - name: Test - run: make test junitfile="${{ matrix.platform }}-junit-report.xml" - - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 - if: success() || failure() - with: - name: test-results-${{ matrix.platform }} - path: '*-junit-report.xml' + run: make test build: runs-on: ubuntu-latest steps: diff --git a/Makefile b/Makefile index 092cd6c8..ab3b1b03 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ release-notes: .PHONY: test test: - @go run gotest.tools/gotestsum@v1.9.0 --format testname --junitfile $(junitfile) + @go test -v ./... .PHONY: lint-prep lint-prep: