From 98e554bcfc8540fd64419c73714f6c515ad66d2f Mon Sep 17 00:00:00 2001 From: Joao Esperancinha Date: Sun, 6 Aug 2023 13:42:00 +0200 Subject: [PATCH] Java version tests --- .circleci/config.yml | 1 + Makefile | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index a561dc3f..f20084b0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -31,6 +31,7 @@ jobs: name: Test command: export JAVA_HOME=/opt/jdk19 && export PATH=$PATH:$JAVA_HOME/bin && + echo "export JAVA_HOME=/opt/jdk19" >> ~/.bashrc && java -version && make b diff --git a/Makefile b/Makefile index a8be474e..4a48f895 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,8 @@ +SHELL := /bin/bash + b: build build: + java -version mvn clean install -DskipTests mvn test test: