[GEOT-7668]: PROJ Citation and PROJ Formatter #9
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: 'MySQL online tests' | |
on: [ pull_request ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: MySQL ${{ matrix.mysql }} online test | |
runs-on: [ubuntu-latest] | |
strategy: | |
fail-fast: false | |
matrix: | |
# 8.0 (until Apr 2026) and 8.4 (until Apr 2029) are LTS versions | |
mysql: [ '8.0', '8.4', '9.0' ] | |
java: [ 11 ] | |
steps: | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'temurin' | |
- 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: Setup test environment for MySQL ${{ matrix.mysql }} | |
run: | | |
./build/ci/mysql/start-mysql.sh ${{ matrix.mysql }} | |
./build/ci/mysql/setup-mysql.sh | |
- name: Build GeoTools dependent modules (no tests) | |
run: mvn -B clean install -T2 -Dall -pl :gt-jdbc-mysql -DskipTests -Dspotless.apply.skip=true -am | |
- name: Test MySQL data store | |
run: mvn -B clean install -T2 -Dall -pl :gt-jdbc-mysql -Ponline -Dspotless.apply.skip=true | |
- name: Remove SNAPSHOT jars from repository | |
run: | | |
find ~/.m2/repository -name "*SNAPSHOT*" -type d | xargs rm -rf {} |