Skip to content

Commit

Permalink
[CI] Disable publishing failing scans (bis) (#21572)
Browse files Browse the repository at this point in the history
#21528 did not work: failing scans
are still published.

This should fix it.
  • Loading branch information
adpi2 authored Sep 11, 2024
2 parents a440a23 + a59a4e6 commit 5cdc9e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/scripts/cmdTests
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ cp tests/neg-macros/i6371/B_2.scala $OUT/B.scala
rm $OUT/A.scala
# this command is expected to fail
# setting -Dscan=false disables publishing scans to develocity.scala-lang.org
"$SBT" "scalac -classpath $OUT1 -d $OUT1 $OUT/B.scala -Dscan=false" > "$tmp" 2>&1 || echo "ok"
"$SBT" "scalac -classpath $OUT1 -d $OUT1 $OUT/B.scala" -Dscan=false > "$tmp" 2>&1 || echo "ok"
# cat "$tmp" # for debugging
grep -qe "B.scala:2:7" "$tmp"
grep -qe "This location contains code that was inlined from A.scala:3" "$tmp"
Expand Down

0 comments on commit 5cdc9e2

Please sign in to comment.