feat: autogenerate config if it doesn't already exist at the path #1945
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: 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 |