gnodet opened a new pull request, #21912:
URL: https://github.com/apache/camel/pull/21912

   ## Summary
   
   After `/component-test` runs, the action now scans the tested modules for 
tests annotated with `@DisabledIfSystemProperty(named = "ci.env.name")`. If any 
are found, a warning is appended to the result comment:
   
   > :warning: **Some integration tests are disabled on GitHub Actions** 
(`@DisabledIfSystemProperty(named = "ci.env.name")`) and require manual 
verification:
   > - `components/camel-couchbase`: 5 test(s) disabled on GitHub Actions
   
   This addresses the issue where `/component-test` reports success but no ITs 
actually ran (e.g., couchbase, ollama), giving a false sense of validation.
   
   ## Example output
   
   On success with disabled tests:
   > :white_check_mark: `/component-test camel-couchbase` tests passed 
successfully.
   >
   > :warning: **Some integration tests are disabled on GitHub Actions** ...
   
   On failure with disabled tests:
   > :x: `/component-test camel-couchbase` tests failed. [check the logs](...)
   >
   > :warning: **Some integration tests are disabled on GitHub Actions** ...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to