Fix Failing Test: Refactor OntologyControllerTest to match the version on tomcat10 branch. #1617
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a Java project with Ant | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-ant | |
name: Java CI | |
on: | |
push: | |
branches: | |
- "main" | |
- "actions" | |
pull_request: | |
branches: | |
- "main" | |
- "actions" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- uses: wtfjoke/setup-groovy@v1 | |
with: | |
groovy-version: '3.0.9' | |
- name: Build with Ant | |
run: | | |
export GROOVY_BIN=`which groovy` | |
export GROOVY_PATH=${GROOVY_BIN%/bin/groovy} | |
echo $GROOVY_PATH | |
mkdir -p /opt/misc/ | |
ln -s $GROOVY_PATH /opt/misc/groovy | |
ls -l /opt/misc/ | |
source commons/env/github.bash | |
ant do unittests |