Merge pull request #4 from spring-projects/wip
Eliminate workaround for action cleanup failure
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user