Merge pull request #4 from spring-projects/wip

Eliminate workaround for action cleanup failure
This commit is contained in:
Brad Davidson
2024-10-03 13:39:01 -06:00
committed by GitHub
2 changed files with 6 additions and 10 deletions

View File

@@ -18,6 +18,7 @@ runs:
with:
repository: spring-projects/spring-ai
ref: refs/heads/main
path: spring-ai
- name: Set up JDK 17
uses: actions/setup-java@v4
@@ -28,11 +29,8 @@ runs:
- name: Install
shell: bash
run: ./mvnw install -DskipTests
run: cd spring-ai && ./mvnw install -DskipTests
- name: Run Spring AI Autoconfigure test
shell: bash
run: ./mvnw -pl spring-ai-spring-boot-autoconfigure -Pintegration-tests -Dfailsafe.rerunFailingTestsCount=2 verify
- name: workaround - checkout the action again
uses: actions/checkout@v4
run: cd spring-ai && ./mvnw -pl spring-ai-spring-boot-autoconfigure -Pintegration-tests -Dfailsafe.rerunFailingTestsCount=2 verify

View File

@@ -23,6 +23,7 @@ runs:
with:
repository: spring-projects/spring-ai
ref: refs/heads/main
path: spring-ai
- name: Set up JDK 17
uses: actions/setup-java@v4
@@ -33,11 +34,8 @@ runs:
- name: Install
shell: bash
run: ./mvnw install -DskipTests
run: cd spring-ai && ./mvnw install -DskipTests
- name: Run ${{ inputs.model-name }} model tests
shell: bash
run: ./mvnw -pl models/spring-ai-${{ inputs.model-name }} -Pintegration-tests -Dfailsafe.rerunFailingTestsCount=2 verify
- name: workaround - checkout the action again
uses: actions/checkout@v4
run: cd spring-ai && ./mvnw -pl models/spring-ai-${{ inputs.model-name }} -Pintegration-tests -Dfailsafe.rerunFailingTestsCount=2 verify