File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change 11on :
22 schedule :
3- - cron : ' 0 0 * * 6'
3+ - cron : " 0 0 * * 6"
44 workflow_dispatch :
55 push :
66 paths :
3434 run : python scripts/cargo-llvm-cov.py
3535 continue-on-error : true
3636 - name : Run cargo-llvm-cov with Python test suite.
37- run : cargo llvm-cov --no-report run -- -m test -u all --slowest --fail-env-changed
37+ run : cargo llvm-cov --no-report run -- -m test -u all --slowest --fail-env-changed
3838 continue-on-error : true
3939 - name : Prepare code coverage data
4040 run : cargo llvm-cov report --lcov --output-path='codecov.lcov'
@@ -109,6 +109,23 @@ jobs:
109109 rm ./_data/whats_left/modules.csv
110110 echo -e "module" > ./_data/whats_left/modules.csv
111111 cat ./_data/whats_left.temp | grep "(entire module)" | cut -d ' ' -f 1 | sort >> ./_data/whats_left/modules.csv
112+ awk -f - ./_data/whats_left.temp > ./_data/whats_left/builtin_items.csv <<'EOF'
113+ BEGIN {
114+ OFS=","
115+ print "builtin,name,is_inherited"
116+ }
117+ /^# builtin items/ { in_section=1; next }
118+ /^$/ { if (in_section) exit }
119+ in_section {
120+ split($1, a, ".")
121+ rest = ""
122+ idx = index($0, " ")
123+ if (idx > 0) {
124+ rest = substr($0, idx+1)
125+ }
126+ print a[1], $1, rest
127+ }
128+ EOF
112129 git add -A
113130 if git -c user.name="Github Actions" -c user.email="[email protected] " commit -m "Update what is left results" --author="$GITHUB_ACTOR"; then 114131 git push
You can’t perform that action at this time.
0 commit comments