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

test_package only if build missing #15999

Merged
merged 4 commits into from
Apr 3, 2024

Conversation

memsharded
Copy link
Member

@memsharded memsharded commented Apr 1, 2024

Changelog: Feature: New conan create --test-missing syntax to optionally run the test_package only when the package is actually created (useful with --build=missing).
Docs: conan-io/docs#3705

Close #15967
Close #14999

@memsharded memsharded added this to the 2.3.0 milestone Apr 1, 2024
"test_package/conanfile.py": GenConanfile().with_test("self.output.info('TEST1!!!')"),
"test_package2/conanfile.py": GenConanfile().with_test("self.output.info('TEST2!!!')")})
# As it doesn't exist, it builds and test it
c.run("create . -tf=missing")
Copy link
Member Author

Choose a reason for hiding this comment

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

conan create . --build=missing --test-missing -tf=other_folder

@memsharded memsharded marked this pull request as ready for review April 2, 2024 17:25
@czoido czoido merged commit 9b2b84e into conan-io:develop2 Apr 3, 2024
2 checks passed
@memsharded memsharded deleted the feature/test_missing branch April 3, 2024 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants