Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/object-evidence.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ jobs:
(cd tools/objinventory && go build -o "$T/objinventory" .)
# Go, root module: the production files of the scope, the cover profile of the whole module
python3 scripts/object_model.py scope-list --root . --scope .measurement-scope.json --lang go --class production > "$T/go-files.txt"
"$T/objinventory" $(cat "$T/go-files.txt") > "$T/go-inventory.json"
# DELIBERATE DEFECT (CI proof branch, never to be merged): the last production file is left out of the
# inventory, so the object list is incomplete and the L3 check must turn this job red.
"$T/objinventory" $(head -n -1 "$T/go-files.txt") > "$T/go-inventory.json"
go test -count=1 -covermode=set -coverprofile="$T/go-cover.out" ./...
# Go, the separate goastdump module: its own inventory and profile
(cd tools/goastdump && "$T/objinventory" main.go > "$T/goastdump-inventory.json" \
Expand Down
Loading