Skip to content

Commit

Permalink
fix code coverage?
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Bowman committed Nov 23, 2023
1 parent f72e6b3 commit b2178fa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/buildtest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ jobs:
env:
GOOS: ${{ matrix.targetos }}
GOARCH: ${{ matrix.arch }}

- name: Setup Golang caches
uses: actions/cache@v3
with:
Expand All @@ -90,9 +89,9 @@ jobs:
excludelist+=" $(find ./ -type f -name '*.pb.go')"
excludelist+=" $(find ./ -type f -name '*.pb.gw.go')"
excludelist+=" $(find ./ -type f -path './test/*.go')"
excludelist+=" $(find ./ -type f -path './osmosis-types/*.go')"
excludelist+=" $(find ./ -type f -path './third-party-chains/*.go')"
for filename in ${excludelist}; do
filename=$(echo $filename | sed 's/^./github.com\/ingenuity-build\/quicksilver/g')
filename=$(echo $filename | sed 's/^./github.com\/quicksilver-zone\/quicksilver/g')
echo "Excluding ${filename} from coverage report..."
sed -i.bak "/$(echo $filename | sed 's/\//\\\//g')/d" coverage.txt
done
Expand Down

0 comments on commit b2178fa

Please sign in to comment.