Agoric / agoric-sdk

monorepo for the Agoric Javascript smart contract platform
Apache License 2.0
328 stars 207 forks source link

report all files in CI test coverage #10560

Closed turadg closed 6 days ago

turadg commented 6 days ago

refs: #10559

Description

https://github.com/Agoric/agoric-sdk/pull/10556 made coverage reports include all files, but only in package reports. This makes CI's report across all packages also use --all.

While working on this I wanted to be able to document all the kinks I ran into so I also consolidated this capability in a single script with explanatory comments.

Security Considerations

none

Scaling Considerations

none

Documentation Considerations

includes docs now

Testing Considerations

The coverage job runs in the after-merge workflow but only on push so I can't trigger it in CI. Instead I've run the script locally. When it reaches cosmic-swingset it dies on ./bin/rosetta-cli but I just skipped that package and confirmed the generated report is as expected.

Upgrade Considerations

n/a