Skip to content

Commit

Permalink
Test clean task in CI (#896)
Browse files Browse the repository at this point in the history
Co-authored-by: Werner Dietl <wdietl@gmail.com>
  • Loading branch information
Ao-senXiong and wmdietl authored Sep 5, 2024
1 parent 304e999 commit 8727b59
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
4 changes: 4 additions & 0 deletions checker/bin-devel/test-cftests-junit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ source "$SCRIPTDIR"/clone-related.sh
# Adding --max-workers=1 to avoid random failures in Github Actions. An alternative solution is to use --no-build-cache.
# https://github.com/eisop/checker-framework/issues/849
./gradlew test -x javadoc -x allJavadoc --console=plain --warning-mode=all --max-workers=1

# Test clean task
./gradlew clean
./gradlew clean
3 changes: 1 addition & 2 deletions checker/tests/nullness-extra/issue265/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ all:
$(JAVAC) -processor org.checkerframework.checker.nullness.NullnessChecker Delta.java -cp bin/ -d bin/

clean:
rm bin/*.class
rmdir bin
rm -rf bin
2 changes: 1 addition & 1 deletion docs/examples/BazelExample/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ all:
grep -qF "BazelExample.java:25: error: [assignment.type.incompatible] incompatible types in assignment." Out.txt || (echo "FAILURE. Here is file Out.txt:" && cat Out.txt && echo "End of file Out.txt." && false)

clean:
bazelisk clean
-bazelisk clean
rm -f Out.txt
2 changes: 1 addition & 1 deletion docs/examples/errorprone/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ all:
grep -qF "Demo.java:8: error: [argument.type.incompatible] incompatible argument for parameter arg0 of Set.add." Out.txt

clean:
../../../gradlew clean
- ../../../gradlew clean
rm -f Out.txt
2 changes: 1 addition & 1 deletion docs/examples/lombok/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ all:
endif

clean:
../../../gradlew clean
- ../../../gradlew clean
rm -f Out.txt

0 comments on commit 8727b59

Please sign in to comment.