Skip to content

Commit

Permalink
Publish unitests results to the pull requests
Browse files Browse the repository at this point in the history
Updates #1234

Signed-off-by: Bogdan Drutu <[email protected]>
  • Loading branch information
bogdandrutu committed Feb 22, 2021
1 parent 347cfa9 commit 7a6798e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,11 @@ jobs:
trap "go-junit-report -set-exit-code < test-results/junit/unittests.out > test-results/junit/unittests.xml" EXIT
# some hostmetrics scraping tests require access to /proc.
sudo make gotest | tee test-results/junit/unittests.out
- name: Upload Unit Test Results
- name: Publish Unit Test Results
if: always()
uses: actions/upload-artifact@v1
uses: EnricoMi/publish-unit-test-result-action@v1.9
with:
name: unittests-results
path: test-results/junit/unittests.xml
files: test-results/junit/unittests.xml
cross-compile:
runs-on: ubuntu-latest
needs: [setup-environment]
Expand Down

0 comments on commit 7a6798e

Please sign in to comment.