Skip to content

Commit

Permalink
fix: fix path for incremental coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
kilianc committed May 15, 2024
1 parent 3ae6857 commit d819e67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cp cover.out "${cover_dir}/revisions/${REVISION}.out"

echo "mode: set" > incremental.out
# grep exits with 1 if no lines are found, so we need to ignore that
grep -F -v -x -f "${GITHUB_WORKSPACE}/go-cover/head/head.out" cover.out >> incremental.out || true
grep -F -v -x -f "${cover_dir}/head/head.out" cover.out >> incremental.out || true
go tool cover -html=incremental.out -o "${cover_dir}/revisions/${REVISION}-inc.html"
go tool cover -func=incremental.out -o "${cover_dir}/revisions/${REVISION}-inc.txt"
cp incremental.out "${cover_dir}/revisions/${REVISION}-inc.out"
Expand Down

0 comments on commit d819e67

Please sign in to comment.