Skip to content

CI: Remove explicit --packages arg to coverage #263

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

Merged
merged 3 commits into from
May 16, 2022
Merged

Conversation

kevmoo
Copy link
Collaborator

@kevmoo kevmoo commented May 15, 2022

No longer needed

@kevmoo kevmoo requested a review from natebosch May 15, 2022 00:55
@coveralls
Copy link

coveralls commented May 15, 2022

Coverage Status

Coverage remained the same at 49.489% when pulling 76cb7d8 on fix_coverage into 9c2e6d3 on master.

- run: dart pub global activate coverage
if: matrix.sdk == 'dev'
- run: dart pub global run coverage:format_coverage --packages=.packages -i coverage --report-on=lib --lcov > coverage/lcov.info
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

.packages is gone in latest dev release!

if: matrix.sdk == 'dev'
if: matrix.sdk == 'dev' && steps.install.outcome == 'success'
id: install_pkg_coverage
- run: dart pub global run coverage:test_with_coverage
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

New all-in-one command!

@kevmoo
Copy link
Collaborator Author

kevmoo commented May 15, 2022

Feel free to squash/merge and delete the branch if you're happy

@tvolkert tvolkert merged commit 1c72944 into master May 16, 2022
@tvolkert tvolkert deleted the fix_coverage branch May 16, 2022 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants