Skip to content

Commit

Permalink
merge, then textfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
altergui committed Sep 20, 2023
1 parent bf4c662 commit 8794939
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,10 @@ jobs:
-o gocoverage-unit@${{ env.SHA }}.txt
go tool covdata textfmt -i=gocoverage-integration@${{ env.SHA }}/ \
-o gocoverage-integration@${{ env.SHA }}.txt
go tool covdata textfmt -i=gocoverage-unit@${{ env.SHA }}/,gocoverage-integration@${{ env.SHA }}/ \
# textfmt can't handle merging count mode with set mode files, but merge does
go tool covdata merge -i=gocoverage-unit@${{ env.SHA }}/,gocoverage-integration@${{ env.SHA }}/ \
-o ./
go tool covdata textfmt -i=./ \
-o gocoverage-merged@${{ env.SHA }}.txt
- name: Store code coverage artifact (all, textfmt)
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 8794939

Please sign in to comment.