Skip to content

Commit

Permalink
Another try at cleaner test output
Browse files Browse the repository at this point in the history
  • Loading branch information
myleshorton committed Nov 30, 2024
1 parent 2a65be3 commit 7f93522
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,11 @@ jobs:
run: |
set -euo pipefail
go test -json -race -failfast -tags="headless" -coverprofile=profile.cov ./... | go-ctrf-json-reporter -output ctrf-report.json
- name: Run CTRF annotations
run: npx github-actions-ctrf ctrf-report.json
if: always()
# Upload the original go test log as an artifact for later review.
- name: Upload test log
uses: actions/upload-artifact@v3
if: always()
- name: Upload test results
uses: actions/upload-artifact@v4
with:
name: test-log
path: /tmp/gotest.log
if-no-files-found: error
name: ctrf-report
path: ctrf-report.json
- name: Install goveralls
run: go install github.com/mattn/goveralls@latest
- name: Send coverage
Expand Down

0 comments on commit 7f93522

Please sign in to comment.