Skip to content

feat: autogenerate config if it doesn't already exist at the path #1864

feat: autogenerate config if it doesn't already exist at the path

feat: autogenerate config if it doesn't already exist at the path #1864

Workflow file for this run

name: Java on Linux
on: [pull_request]
jobs:
java_linux:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Build Keploy binary
run: |
go build -o keployv2
- name: Checkout samples-java repository
uses: actions/checkout@v2
with:
repository: keploy/samples-java
path: samples-java
- name: Installing the necessary dependencies
run: |
cd samples-java/spring-petclinic/spring-petclinic-rest
./mvnw dependency:resolve
- name: Compile the project
run: |
cd samples-java/spring-petclinic/spring-petclinic-rest
source ./../../../.github/workflows/test_workflow_scripts/update-java.sh
./mvnw compile
- name: Run the spring-petclinic-rest app
run: |
cd samples-java/spring-petclinic/spring-petclinic-rest
source ./../../../.github/workflows/test_workflow_scripts/java-linux.sh