-
Notifications
You must be signed in to change notification settings - Fork 293
43 lines (38 loc) · 1.05 KB
/
gcs-integration.yml
File metadata and controls
43 lines (38 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: GCS BlobStore Integration
on:
push:
tags:
- "**"
pull_request:
paths:
- ".github/workflows/gcs-integration.yml"
- "pom.xml"
- "geowebcache/pom.xml"
- "geowebcache/core/**"
- "geowebcache/gcsblob/**"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
fake-gcs-server:
name: Fake GCS Server container
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 17, 21 ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java-version }}
cache: 'maven'
- name: Tests against Fake GCS Server TestContainers
run: |
mvn verify -f geowebcache/pom.xml -pl :gwc-gcs-blob -am \
-Ponline \
-DskipTests=true \
-DskipITs=false -B -ntp
- name: Remove SNAPSHOT jars from repository
run: |
find .m2/repository -name "*SNAPSHOT*" -type d | xargs rm -rf {}