Skip to content

Commit

Permalink
fix: remove DONTCOVER filtering in test-cover ci
Browse files Browse the repository at this point in the history
  • Loading branch information
zemyblue committed Jan 3, 2023
1 parent bcadaba commit 70ec1ff
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,6 @@ jobs:
- name: Test & Coverage repoting
run: make test-cover
if: env.GIT_DIFF
- name: filter out DONTCOVER
run: |
excludelist="$(find ./ -type f -name '*.go' | xargs grep -l 'DONTCOVER')"
for filename in ${excludelist}; do
filename=$(echo $filename | sed 's/^./github.com\/line\/wasmd/g')
echo "Excluding ${filename} from coverage report..."
sed -i.bak "/$(echo $filename | sed 's/\//\\\//g')/d" coverage.txt
done
if: env.GIT_DIFF
- name: Upload coverage report
uses: codecov/codecov-action@v3.1.1
with:
Expand Down

0 comments on commit 70ec1ff

Please sign in to comment.