Skip to content

Commit

Permalink
Restrict -t java11 to linux only in repotests (#1604)
Browse files Browse the repository at this point in the history
* Restrict -t java11 to linux only in repotests

Signed-off-by: Prabhu Subramanian <[email protected]>

* Remove jazzer which isn't working well in the snapshot tests server

Signed-off-by: Prabhu Subramanian <[email protected]>

* fail-on-error was incorrectly defaulting to true

Signed-off-by: Prabhu Subramanian <[email protected]>

* Add jazzer back to snapshot tests

Signed-off-by: Prabhu Subramanian <[email protected]>

---------

Signed-off-by: Prabhu Subramanian <[email protected]>
  • Loading branch information
prabhu authored Jan 28, 2025
1 parent 47d8e4d commit 1e62d4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/repotests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ jobs:
with:
repository: 'bazelbuild/examples'
path: 'repotests/bazel-examples'
ref: 'b51e3bdd468ce8c4a516d7dca993909dcc84af32'
- uses: actions/checkout@v4
with:
repository: 'flutter/gallery'
Expand Down Expand Up @@ -323,6 +324,7 @@ jobs:
bin/cdxgen.js -p -t java -exclude-type js repotests/java-sec-code -o bomresults/bom-java-sec-code-10.json
shell: bash
- name: repotests greyhound
if: matrix.os == 'ubuntu-latest'
run: |
bin/cdxgen.js -p -r -t java11 repotests/greyhound -o bomresults/bom-greyhound-java.json
bin/cdxgen.js -p -r -t gradle repotests/greyhound -o bomresults/bom-greyhound-gradle.json
Expand Down
2 changes: 1 addition & 1 deletion bin/cdxgen.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ const args = yargs(hideBin(process.argv))
})
.option("fail-on-error", {
type: "boolean",
default: !isSecureMode,
default: isSecureMode,
description: "Fail if any dependency extractor fails.",
})
.option("no-babel", {
Expand Down

0 comments on commit 1e62d4c

Please sign in to comment.