Skip to content
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

Test clean task in CI #896

Merged
merged 17 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Ao-senXiong marked this conversation as resolved.
Show resolved Hide resolved
./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
Loading