From 7c657e007cf9d728710ac7a4412f4d806a83b80c Mon Sep 17 00:00:00 2001 From: Rene Krenn Date: Thu, 26 Dec 2024 10:20:31 +0100 Subject: [PATCH] debian12 github ci runner: use opens option in dbtool in jobs #4 --- .github/workflows/run_selenium_test.sh | 6 +++--- .github/workflows/test.yml | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run_selenium_test.sh b/.github/workflows/run_selenium_test.sh index 8c1850ce6a79..539f6900eae4 100644 --- a/.github/workflows/run_selenium_test.sh +++ b/.github/workflows/run_selenium_test.sh @@ -1,7 +1,7 @@ #!/bin/bash -CTSMS_PROPERTIES=/ctsms/properties -CTSMS_JAVA=/ctsms/java -echo "JDK_JAVA_OPTIONS=--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED" >> $GITHUB_ENV +#CTSMS_PROPERTIES=/ctsms/properties +#CTSMS_JAVA=/ctsms/java +#echo "JDK_JAVA_OPTIONS=--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED" >> $GITHUB_ENV #VERSION=$(grep -oP '\K[^<]+' /home/runner/work/ctsms/ctsms/pom.xml) #cat /var/lib/tomcat9/logs/catalina.out BRANCH=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fc25945581b9..9e4a3d4a1147 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -122,6 +122,9 @@ jobs: FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }} FTP_PATH: ${{ secrets.FTP_PATH }} run: | + echo "CTSMS_PROPERTIES=/ctsms/properties" >> $GITHUB_ENV + echo "CTSMS_JAVA=/ctsms/java" >> $GITHUB_ENV + echo "JDK_JAVA_OPTIONS=--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED" >> $GITHUB_ENV /home/runner/work/ctsms/ctsms/.github/workflows/run_selenium_test.sh org.phoenixctms.ctsms.selenium.proband.* "Proband Tests" git@phoenixctms.org /home/runner/work/ctsms/ctsms/.github/workflows/run_selenium_test.sh org.phoenixctms.ctsms.selenium.trial.* "Trial Tests" git@phoenixctms.org # - name: test perl selenium remote