Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aggregate coverage - aggregate tests but not publishing #974

Closed
wants to merge 4 commits into from

Conversation

ucbjrl
Copy link
Contributor

@ucbjrl ucbjrl commented Jan 4, 2019

Related issue: #772

Type of change: bug report

Impact: no functional change

Development Phase: implementation

Release Notes
Discover a working combination of aggregate usage to enable coverage of subprojects testing but publish a single Jar.
This should finally fix #772.

Discover a working combination of aggregate usage to enable coverage of subprojects testing but publish a single Jar.
This should finally fix #772.
@ucbjrl ucbjrl added the Bugfix Fixes a bug, will be included in release notes label Jan 4, 2019
@ucbjrl ucbjrl requested review from chick and ducky64 January 4, 2019 23:01
@ucbjrl ucbjrl requested a review from a team as a code owner January 4, 2019 23:01
chick
chick previously approved these changes Jan 4, 2019
Copy link
Contributor

@chick chick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

ducky64
ducky64 previously approved these changes Jan 5, 2019
Copy link
Contributor

@ducky64 ducky64 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what I'm looking at but if tests pass and dependencies build against it then it's probably fine?

Maybe add a comment in there somewhere explaining this since it's not immediately obvious from the code what's going on? I'm assuming this is another way of not publishing coreMacros and chiselFrontend as individual JARs that has less side effects?

ucbjrl added 2 commits January 7, 2019 12:06
Remove vestiges of earlier (failing) attempts to provide aggregation for everything but publishing JARs.
Use "scalastyle-test-config.xml" for scalastyle config in tests.
Enable "_" in method names and accept method names ending in "_=".
Re-sync scalastyle-test-config.xml with scalastyle-config.xml
@ucbjrl ucbjrl dismissed stale reviews from ducky64 and chick January 8, 2019 20:52

Source changes require re-review

@edwardcwang
Copy link
Contributor

Consensus: move scalastyle changes to new PR

ucbjrl added a commit that referenced this pull request Mar 18, 2019
* Update style warnings now that subprojects are aggregated.
Use "scalastyle-test-config.xml" for scalastyle config in tests.
Enable "_" in method names and accept method names ending in "_=".
Re-sync scalastyle-test-config.xml with scalastyle-config.xml

* Remove bogus tests that crept in with git add

* Add missing import.
@ucbjrl
Copy link
Contributor Author

ucbjrl commented Mar 18, 2019

Closed by #1037 and #1040

@ucbjrl ucbjrl closed this Mar 18, 2019
@ucbjrl ucbjrl deleted the skippublishinsubprojects branch April 10, 2020 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugfix Fixes a bug, will be included in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Running coverage under sbt 1.0 does not cover source in chiselFrontEnd
4 participants