added log for empty load assignment #354
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: Flaky tests | |
on: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- 'readme.md' | |
jobs: | |
flaky_test: | |
name: flaky_test | |
runs-on: ubuntu-latest | |
env: | |
GRADLE_OPTS: '-Dfile.encoding=utf-8 -Dorg.gradle.daemon=false' | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.head_ref }} | |
- uses: gradle/wrapper-validation-action@v1 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Cache Gradle packages | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Flaky tests | |
run: ./gradlew clean -Penvironment=integration :envoy-control-tests:flakyTest | |
- name: Junit report | |
uses: mikepenz/action-junit-report@v2 | |
if: always() | |
with: | |
report_paths: '**/build/test-results/test/TEST-*.xml' | |
- name: Cleanup Gradle Cache | |
run: | | |
rm -f ~/.gradle/caches/modules-2/modules-2.lock | |
rm -f ~/.gradle/caches/modules-2/gc.properties |