Disable test package build
See original GitHub issueDescription of Problem, Request, or Question
I just tried to disable the test packages build in a GitLab-CI pipeline by setting CPT_TEST_FOLDER
to “False”. Unfortunately it is recognized as string instead of boolean, so CPT is searching for the “False” test package directory.
I also tried by setting the test_folder
parameter to the actual boolean False
, but then CPT tries to get the value from CPT_TEST_FOLDER
(and if not there, sets test_folder
to None
).
Is there a valid way to disable the test package build with conan package tools?
Environment Details
- Conan Package Tools Version: 0.34.0
- Conan version: conan 1.27.1
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Maven package/install without test (skip tests) - Stack Overflow
Enter this value: package -Dmaven.test.skip=true -f pom.xml in the Command line field. Click Apply and a Run Configurations dropdown menu should appear along ......
Read more >Skipping Tests with Maven - Baeldung
Learn how and when to skip tests with Maven. ... we'll use the package phase, which includes compiling and running the tests.
Read more >Maven Surefire Plugin – Skipping Tests
To skip running the tests for a particular project, set the skipTests property to true. ... You can also skip the tests via...
Read more >Testing in Chromium - On disabling tests
If the test is an entire binary or test suite, the first (and simplest) way is to simply not build (or build, but...
Read more >Maven - How to skip unit test - Mkyong.com
In Maven, you can define a system property -Dmaven.test.skip=true to skip the entire unit test. By default, when building project, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Linux13524 The PR #518 contains the fix for your problem and will be available on CPT 0.34.1.
I’m closing this issue now, but feel free to re-open if you find any related problem with 0.34.1.
Regards!
Thanks a lot!