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

ci: optional tests fail in CI #505

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

doug-q
Copy link
Contributor

@doug-q doug-q commented Sep 17, 2024

No description provided.

@doug-q doug-q requested a review from a team as a code owner September 17, 2024 09:54
@doug-q doug-q requested a review from croyzor September 17, 2024 09:54
@doug-q doug-q force-pushed the doug/fail-skipped-tests-in-ci branch from 5e6f699 to b96cf26 Compare September 17, 2024 09:59
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.54%. Comparing base (a980ec2) to head (b96cf26).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #505   +/-   ##
=======================================
  Coverage   91.54%   91.54%           
=======================================
  Files          60       60           
  Lines        6130     6130           
=======================================
  Hits         5612     5612           
  Misses        518      518           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

pytest.fail("Validator not installed")
else:
pytest.skip(
"Skipping validation: Run `cargo build` to install the validator"
Copy link
Contributor

Choose a reason for hiding this comment

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

You can also just run pytest --no-validation, following #472. So this is a different take on the same idea. If we go with this, we might want to revert #472? Or, we might instead want to do something like that but for execution tests too?


except ImportError as e:
if IN_CI:
pytest.fail(f"run_int_fn failed in CI: {e}")
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be something like "execute_llvm not installed in CI"

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.

4 participants