-
Notifications
You must be signed in to change notification settings - Fork 261
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
#7324 Ensure Open Types tests are run (gradle) #7327
Conversation
I notice codeQL is failing with lots of 'notes' (minor level issues) due to the generated code. These can be seen at https://github.com/odpi/egeria/security/code-scanning?query=pr%3A7327+tool%3ACodeQL+is%3Aopen+sort%3Acreated-desc It might be useful to fix the generator to build cleaner code (I suspect it's a small number of issues in the template) Directories can't be excluded from the codeQL scan itself, the only control is by not-building certain modules. We might be able to add properties, but this will change how users need to exclude tests (-x tests) -- the issue here is that the FVT generated code (which is a compile task, not test) will still run. A fix here will need some further refactoring ... So probably easiest to take a look at the warnings. Other alternatives
Still looking to see how I can code a condition based on the absence of other tests (to leverage the |
^ fyi @davidradl |
@davidradl Do you want to do anything with the code template? |
Signed-off-by: Nigel Jones <[email protected]>
Signed-off-by: David Radley <[email protected]> Signed-off-by: Nigel Jones <[email protected]>
Signed-off-by: Nigel Jones <[email protected]>
Signed-off-by: Nigel Jones <[email protected]>
Signed-off-by: Nigel Jones <[email protected]>
Signed-off-by: Nigel Jones <[email protected]>
Signed-off-by: Nigel Jones <[email protected]>
Signed-off-by: David Radley <[email protected]>
Signed-off-by: Nigel Jones <[email protected]>
Signed-off-by: Nigel Jones <[email protected]>
I'm trying to get these build issues integrated before some refactoring needed to fix connectors. |
|
rules evaluation just seems to stop. github/codeql#7294 seems to confirm that @SuppressWarnings is not respected by codeQL. However that issue does also point to a way of filtering the sarif file before analysis. This may be what is needed to fix codeQL. However at this point I think it's clear this is a codeql specific issue. It's fragile. I therefore plan on merging this anyway & raising a new issue to track codeQL issues |
Description
Ensures open types FVT tests run as part of gradle build
Related Issue(s)
See #7374
Testing
Note, this current fails as the actual tests have issues:
The changes to the scripts appear good & ready for merge when we have fixed the tests.
Release Notes & Documentation
Additional notes
Once #7325 is merged, I will merge or rebase, as this PR currently also contains that fix - needed to validate
FYI @davidradl