docs: fastest response strategy plugin #3715
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: Run Standard Integration Tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '*' | |
paths-ignore: | |
- '**/release_draft.yml' | |
- '**/maven*.yml' | |
jobs: | |
standard-integration-tests: | |
name: 'Run standard container integration tests' | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Clone repository' | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 50 | |
- name: 'Get changed files' | |
id: changed-files-specific | |
uses: tj-actions/changed-files@cbda684547adc8c052d50711417fa61b428a9f88 | |
with: | |
files_yaml: | | |
doc: | |
- '**/*.md' | |
- '**/docs/**' | |
- '**/*.jpg' | |
- '**/*.png' | |
- name: 'Check changed files' | |
id: changed-files | |
if: ${{steps.changed-files-specific.outputs.doc_only_changed == 'false' && steps.changed-files-specific.outputs.doc_only_modified == 'false'}} | |
run: echo "ONLY_DOCS=false" >> $GITHUB_OUTPUT | |
- name: 'Set up JDK 8' | |
if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false'}} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'corretto' | |
java-version: 8 | |
- name: 'Run standard integration tests' | |
if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false'}} | |
run: | | |
./gradlew --no-parallel --no-daemon test-all-docker | |
- name: Mask data | |
run: | | |
./gradlew --no-parallel --no-daemon maskJunitHtmlReport | |
- name: 'Archive junit results' | |
if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false' && !cancelled()}} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: junit-report | |
path: ./wrapper/build/test-results | |
retention-days: 5 | |
- name: 'Archive html summary report' | |
if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false' && !cancelled()}} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: html-summary-report | |
path: ./wrapper/build/report | |
retention-days: 5 |