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

chore: turn off extension inference testing #796

Closed
wants to merge 1 commit into from

Conversation

ss2165
Copy link
Member

@ss2165 ss2165 commented Jan 9, 2024

No description provided.

@ss2165 ss2165 requested a review from aborgna-q January 9, 2024 13:14
@ss2165 ss2165 changed the title chore: turn of extension inference testing chore: turn off extension inference testing Jan 9, 2024
Copy link
Collaborator

@aborgna-q aborgna-q left a comment

Choose a reason for hiding this comment

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

It's a bit annoying having failing tests in HEAD.
Perhaps we could conditionally #[ignore] them instead?

We'd then be able to run the tests with

cargo test -- --include-ignored

when needed.

If we keep this PR as-is, make sure to remove the --all-features flags from .github/pre-commit too.

Comment on lines +87 to +88
# - name: Tests with all features
# run: cargo test --verbose --all-features
Copy link
Collaborator

Choose a reason for hiding this comment

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

Replace this with a note about why we don't run the tests

Suggested change
# - name: Tests with all features
# run: cargo test --verbose --all-features
# Note: The `extension_inference` feature is experimental, we don't expect tests to succeed.

@@ -102,9 +102,9 @@ jobs:
- name: Run tests with coverage instrumentation
run: |
cargo llvm-cov clean --workspace
cargo llvm-cov --all-features --doctests
cargo llvm-cov --doctests
Copy link
Collaborator

Choose a reason for hiding this comment

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

This will bring the coverage down by a large margin.
It may be nice to spread

#![cfg_attr(coverage, feature(no_coverage))]

around.

(Note: That'll make llvm-cov run only on nightly, but that should be ok).

@ss2165
Copy link
Member Author

ss2165 commented Jan 9, 2024

Closing in favour of skipping failing inference tests: ac78815

@ss2165 ss2165 closed this Jan 9, 2024
@ss2165 ss2165 deleted the chore/no-test-inference branch January 9, 2024 13:53
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.

2 participants