Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/samples-java-client-jdk11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ on:
- samples/client/petstore/java/webclient-useSingleRequestParameter/**
- samples/client/others/java/jersey2-oneOf-duplicates/**
- samples/client/others/java/jersey2-oneOf-Mixed/**
- samples/client/petstore/java/jersey3-oneOf/**
- samples/client/others/java/okhttp-gson-streaming/**
- samples/client/others/java/resteasy/**
- samples/client/others/java/apache-httpclient/**
Expand All @@ -41,7 +40,6 @@ on:
- samples/client/petstore/java/webclient-useSingleRequestParameter/**
- samples/client/others/java/jersey2-oneOf-duplicates/**
- samples/client/others/java/jersey2-oneOf-Mixed/**
- samples/client/petstore/java/jersey3-oneOf/**
- samples/client/others/java/okhttp-gson-streaming/**
- samples/client/others/java/resteasy/**
- samples/client/others/java/apache-httpclient/**
Expand Down Expand Up @@ -111,7 +109,6 @@ jobs:
- samples/client/others/java/jersey2-oneOf-Mixed/
- samples/client/others/java/resttemplate-list-schema-validation/
- samples/client/petstore/java/okhttp-gson-3.1-duplicated-operationid/
- samples/client/petstore/java/jersey3-oneOf/
- samples/client/others/java/okhttp-gson-streaming/
- samples/client/petstore/java/resteasy/
- samples/client/petstore/java/apache-httpclient/
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/samples-java-client-jdk17.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
- samples/client/others/java/restclient-enum-in-multipart/**
- samples/client/others/java/restclient-sealedInterface/**
- samples/client/others/java/restclient-useAbstractionForFiles/**
- samples/client/petstore/java/jersey3-oneOf/**
pull_request:
paths:
- samples/client/petstore/java/resttemplate-jakarta/**
Expand All @@ -33,6 +34,7 @@ on:
- samples/client/others/java/restclient-enum-in-multipart/**
- samples/client/others/java/restclient-sealedInterface/**
- samples/client/others/java/restclient-useAbstractionForFiles/**
- samples/client/petstore/java/jersey3-oneOf/**
jobs:
build:
name: Build Java Client JDK17
Expand Down Expand Up @@ -64,6 +66,7 @@ jobs:
- samples/client/others/java/restclient-enum-in-multipart
- samples/client/others/java/restclient-sealedInterface
- samples/client/others/java/restclient-useAbstractionForFiles
- samples/client/petstore/java/jersey3-oneOf
steps:
- uses: actions/checkout@v5
- uses: actions/setup-java@v5
Expand Down
47 changes: 47 additions & 0 deletions .github/workflows/samples-java-petsore-client-jdk17.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# run java client tests with petstore server
name: Samples Java Petsore Client JDK17

on:
push:
paths:
- samples/client/petstore/java/jersey3/**
pull_request:
paths:
- samples/client/petstore/java/jersey3/**
jobs:
build:
name: Build Java Client JDK17
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sample:
- samples/client/petstore/java/jersey3
services:
petstore-api:
image: swaggerapi/petstore
ports:
- 80:8080
env:
SWAGGER_HOST: http://petstore.swagger.io
SWAGGER_BASE_PATH: /v2
steps:
- uses: actions/checkout@v5
- name: Add hosts to /etc/hosts
run: |
sudo echo "127.0.0.1 petstore.swagger.io" | sudo tee -a /etc/hosts
- uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 17
- name: Cache maven dependencies
uses: actions/cache@v5
env:
cache-name: maven-repository
with:
path: |
~/.m2
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
- name: Build with Maven
working-directory: ${{ matrix.sample }}
run: mvn clean package --no-transfer-progress
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@
#docs/*.md
# Then explicitly reverse the ignore rule for a single file:
#!docs/README.md
#
#
#
Loading