Skip to content

Commit

Permalink
fix: codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
qclc committed Jun 17, 2024
1 parent 247193b commit a86088c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:

- name: Ensure coverage is reported for every package
run: |
if [ -z ${{ secrets.CODECOV_TOKEN }} ]; then
echo "empty CODECOV_TOKEN"
fi
find pkg -type d -print0 | while IFS= read -r -d '' dir; do
go_file=$(ls -1 $dir | grep '\.go$' | grep -v '_test\.go$' | head -n1)
if [[ $go_file ]]; then
Expand Down

0 comments on commit a86088c

Please sign in to comment.