is there an option for the poly tool to get output that I can directly append to another poly command? (I want to run poly ws get:changes:changed-or-affected-projects skip:dev color-mode:none and use the output to run poly test project:foo:bar
No, we donβt support that. What problem are you trying to solve?
CI should run tests based on changes in projects
poly test :project will include projects in the test run, see https://cljdoc.org/d/polylith/clj-poly/CURRENT/doc/testing#project-tests.
aha ok, so poly runs only the tests for the changed projects anyway
thanks
Yes
We invoke Polylith's API from our build.clj file, so we use https://cljdoc.org/d/polylith/clj-poly/0.2.22-SNAPSHOT/api/polylith.clj.core.api.interface#projects-to-deploy to get the list of changed projects programmatically.
perfect