Allow for up to 3 retries when running an integration test

This commit is contained in:
Mark Pollack
2023-11-09 15:18:47 -05:00
parent 73eae56e65
commit 1666cf0845
2 changed files with 6 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ jobs:
SPRING_AI_OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
run: mvn -s settings.xml -Pintegration-tests --batch-mode --update-snapshots deploy
run: mvn -s settings.xml -Pintegration-tests -Dfailsafe.rerunFailingTestsCount=3 --batch-mode --update-snapshots deploy
- name: Generate Java docs
run: mvn javadoc:aggregate