Make ProblemContext
fields public (#311)
#349
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: Quickstart Flow Tests | |
on: | |
push: | |
branches: [ master, v3.X, v2.X, v1.X ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
json-provider: [ "resteasy-jsonb", "resteasy-jackson" ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 11 | |
distribution: temurin | |
cache: 'maven' | |
- name: Compile and Install Extension | |
run: | | |
./mvnw install -Pquick -pl '!integration-test' | |
mkdir quickstart | |
- name: Generate Quickstart App | |
working-directory: ./quickstart | |
run: | | |
QUARKUS_VERSION=$(mvn -f ../pom.xml -q -Dexec.executable=echo -Dexec.args='${quarkus.version}' --non-recursive exec:exec) | |
echo "QUARKUS_VERSION = $QUARKUS_VERSION" | |
mvn io.quarkus:quarkus-maven-plugin:$QUARKUS_VERSION:create \ | |
-Dextensions="resteasy,${{ matrix.json-provider }}" \ | |
-DprojectGroupId=problem \ | |
-DprojectArtifactId=quarkus-resteasy-problem-playground \ | |
-DclassName="problem.HelloResource" \ | |
-Dpath="/hello" | |
EXTENSION_VERSION=$(mvn -f ../pom.xml -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec) | |
echo "EXTENSION_VERSION = $EXTENSION_VERSION" | |
cd quarkus-resteasy-problem-playground | |
./mvnw quarkus:add-extension -Dextensions="com.tietoevry.quarkus:quarkus-resteasy-problem:$EXTENSION_VERSION" | |
- name: Run tests | |
working-directory: ./quickstart/quarkus-resteasy-problem-playground | |
run: | | |
./mvnw --no-transfer-progress test |