fix: better cleaup for Java template tests (#2051)

Signed-off-by: Matej Vasek <mvasek@redhat.com>
This commit is contained in:
Matej Vasek 2023-10-26 14:19:54 +02:00 committed by GitHub
parent cd0bc6ae1e
commit 7fa331b544
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -155,12 +155,12 @@ test-python: ## Test Python templates
cd templates/python/http && python3 test_func.py && rm -rf __pycache__
test-quarkus: ## Test Quarkus templates
cd templates/quarkus/cloudevents && ./mvnw -q test && ./mvnw clean
cd templates/quarkus/http && ./mvnw -q test && ./mvnw clean
cd templates/quarkus/cloudevents && ./mvnw -q test && ./mvnw clean && rm .mvn/wrapper/maven-wrapper.jar
cd templates/quarkus/http && ./mvnw -q test && ./mvnw clean && rm .mvn/wrapper/maven-wrapper.jar
test-springboot: ## Test Spring Boot templates
cd templates/springboot/cloudevents && ./mvnw -q test && ./mvnw clean
cd templates/springboot/http && ./mvnw -q test && ./mvnw clean
cd templates/springboot/cloudevents && ./mvnw -q test && ./mvnw clean && rm .mvn/wrapper/maven-wrapper.jar
cd templates/springboot/http && ./mvnw -q test && ./mvnw clean && rm .mvn/wrapper/maven-wrapper.jar
test-rust: ## Test Rust templates
cd templates/rust/cloudevents && cargo -q test && cargo clean