[GEOT-7668]: PROJ Citation and PROJ Formatter #8
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
name: Oracle online tests | |
on: [pull_request] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: Java ${{ matrix.java }} | |
runs-on: [ubuntu-20.04] | |
strategy: | |
matrix: | |
java: [11] | |
java-dist: ['temurin'] | |
steps: | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: ${{ matrix.java-dist }} | |
- uses: actions/checkout@v4 | |
- name: Maven repository caching | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: gt-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
gt-maven- | |
- name: Free up diskspace | |
run: | | |
sudo rm -rf /usr/local/lib/android | |
sudo rm -rf /usr/share/dotnet | |
df -h | |
- name: Setup test environment for Oracle XE | |
run: | | |
./build/ci/oracle/start-oracle.sh | |
./build/ci/oracle/setup-oracle.sh | |
- name: Build GeoTools dependent modules (no tests) | |
run: mvn -B clean install -T2 -Dall -pl :gt-jdbc-oracle -DskipTests -am | |
- name: Test Oracle data store | |
run: mvn -B clean install -pl :gt-jdbc-oracle -Pci-oracle-build -Ponline -Dspotless.apply.skip=true | |
- name: Remove SNAPSHOT jars from repository | |
run: | | |
find ~/.m2/repository -name "*SNAPSHOT*" -type d | xargs rm -rf {} |