Skip to content
This repository has been archived by the owner on May 22, 2023. It is now read-only.

Commit

Permalink
No longer use publish-unit-test-result-action
Browse files Browse the repository at this point in the history
We are no longer using EnricoMi/publish-unit-test-result-action for
publishing of tests results, due to a known bug in the action, causing
wrong association of tests results with workflows
(EnricoMi/publish-unit-test-result-action#12).
Failing tests still will cause the job to be reported as failed.
  • Loading branch information
michalinacienciala committed Mar 4, 2021
1 parent 9fe8814 commit fc96d56
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,25 +47,12 @@ jobs:
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache

- name: Create test results directory
run: mkdir test-results

- name: Run Go tests
run: |
docker run \
--volume $GITHUB_WORKSPACE/test-results:/mnt/test-results \
--workdir /go/src/github.com/keep-network/keep-ecdsa \
go-build-env \
gotestsum --junitfile /mnt/test-results/unit-tests.xml
- name: Publish unit test results
uses: EnricoMi/publish-unit-test-result-action@v1
if: always()
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
files: ./test-results/unit-tests.xml
check_name: Go Test Results # name under which test results will be presented in GitHub (optional)
comment_on_pr: false # turns off commenting on Pull Requests
gotestsum
- name: Login to Google Container Registry
if: |
Expand Down

0 comments on commit fc96d56

Please sign in to comment.