Skip to content

Commit

Permalink
include cloud-readiness as target for test
Browse files Browse the repository at this point in the history
Signed-off-by: Emily McMullan <[email protected]>
  • Loading branch information
eemcmullan committed Oct 23, 2023
1 parent c574c55 commit 7411357
Show file tree
Hide file tree
Showing 2 changed files with 582 additions and 1,200 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Run analysis test and copy output
run: |
RUNNER_IMG=localhost/kantra:latest ./kantra analyze --input $(pwd)/example-applications/example-1/ --output ./output/ --rules ./test-data/jni-native-code-test.windup.xml
RUNNER_IMG=localhost/kantra:latest ./kantra analyze --input $(pwd)/example-applications/example-1/ --output ./output/ --rules ./test-data/jni-native-code-test.windup.xml --target cloud-readiness
- name: Fail if analysis output does not match expected
run: |
Expand All @@ -47,5 +47,5 @@ jobs:
- name: Fail if xml rule is not in analysis output as violation
run: |
actual_file=./output/output.yaml
grep violations -A 1 analysis-output.yaml | grep jni-native-code-00000-test -B 1
grep violations -A 1 $actual_file | grep jni-native-code-00000-test -B 1
Loading

0 comments on commit 7411357

Please sign in to comment.