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: Build MSRV without git feature enabled #2279

Merged
merged 2 commits into from
Aug 25, 2022

Conversation

Enselic
Copy link
Collaborator

@Enselic Enselic commented Aug 18, 2022

git2-rs MSRV policy is to only support latest stable rust (see https://github.com/rust-lang/git2-rs#rust-version-requirements), so it does not make sense to run our MSRV tests with git enabled. Also see discussion in #2258

Also note the following separate commit:

tests/tester: Do not build as tests

mod tester does not contains any tests, so do not build the module as
containing tests. Instead use the mod.rs approach described in
https://doc.rust-lang.org/book/ch11-03-test-organization.html#submodules-in-integration-tests.

mod tester does not contains any tests, so do not build the module as
containing tests. Instead use the mod.rs approach described in
https://doc.rust-lang.org/book/ch11-03-test-organization.html#submodules-in-integration-tests.
git2-rs MSRV policy is to only support latest stable rust (see
https://github.com/rust-lang/git2-rs#rust-version-requirements), so it
does not make sense to run our MSRV tests with git enabled.
@Enselic
Copy link
Collaborator Author

Enselic commented Aug 25, 2022

I hear no objections, so let's merge! 🎉

@Enselic Enselic merged commit 621ab60 into sharkdp:master Aug 25, 2022
@Enselic Enselic deleted the msrv-without-git branch August 25, 2022 17: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.

None yet

1 participant