Skip to content

feat: Pass any transport config to the plugin in the test context und… #1953

feat: Pass any transport config to the plugin in the test context und…

feat: Pass any transport config to the plugin in the test context und… #1953

Workflow file for this run

name: Pact-JVM Build
on:
push:
branches: [ master, v4.1.x, v4.4.x, v4.5.x, v4.6.x ]
pull_request:
branches: [ master, v4.1.x, v4.4.x, v4.5.x, v4.6.x ]
jobs:
latest_jdk:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ ubuntu-latest, windows-latest, macos-latest ]
module: [ core, 'consumer -x :consumer:junit:clojureTest', provider, pact-specification-test ]
steps:
- uses: actions/checkout@v2
- name: Set up JDK 19
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 18
- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- run: ./gradlew -v
- name: Build with Gradle
run: ./gradlew -s --no-daemon -i -p ${{ matrix.module }} check
supported_jdks:
runs-on: ubuntu-latest
strategy:
matrix:
module: [ core, consumer, provider, pact-specification-test ]
jdk: [ 17, 18 ]
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: ${{ matrix.jdk }}
- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- run: ./gradlew -v
- name: Build with Gradle
run: ./gradlew -s --no-daemon -i -p ${{ matrix.module }} check