Skip to content

Conversation

@vanbasten23
Copy link
Collaborator

@vanbasten23 vanbasten23 commented Mar 5, 2024

The error message in the post-submit CI

+ mkdir lcov
+ cp .coverage lcov/
+ coverage-lcov --data_file_path lcov/.coverage
Traceback (most recent call last):
  File "/opt/conda/bin/coverage-lcov", line 5, in <module>
    from coverage_lcov.cli import main
  File "/opt/conda/lib/python3.8/site-packages/coverage_lcov/__init__.py", line 3, in <module>
    import toml
ModuleNotFoundError: No module named 'toml'
Error: Process completed with exit code 1.

points to

coverage-lcov --data_file_path lcov/.coverage

@vanbasten23
Copy link
Collaborator Author

Enabled the coverage by setting collect-coverage: true and verified that the fix works

@vanbasten23 vanbasten23 marked this pull request as ready for review March 5, 2024 05:23
@vanbasten23 vanbasten23 changed the title [DO NOT REVIEW] Install missing package Install missing toml package for post-submit CI failure. Mar 5, 2024
@vanbasten23 vanbasten23 mentioned this pull request Mar 5, 2024
Copy link
Contributor

@yeounoh yeounoh left a comment

Choose a reason for hiding this comment

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

LGTM

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