Add coverage reports #334
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
# Auto-generated file. Do not edit manually! | |
# | |
# To alter these flows, edit: | |
# | |
# internal/venice-test-common/build.gradle | |
# | |
# To regenerate, run: | |
# | |
# ./gradlew generateGHCI | |
name: E2ETests | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
IntegrationTests_1000: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1000" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1010: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1010" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1020: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1020" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1030: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1030" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1040: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1040" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1050: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1050" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1060: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1060" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1070: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1070" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1080: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1080" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1090: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1090" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1100: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1100" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1110: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1110" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1120: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1120" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1130: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1130" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1200: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1200" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1210: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1210" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1220: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1220" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1230: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1230" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1240: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1240" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1250: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1250" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1260: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1260" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1270: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1270" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1280: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1280" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1400: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1400" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1410: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1410" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1420: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1420" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1430: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1430" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1440: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1440" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1500: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1500" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_1550: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1550" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
IntegrationTests_9999: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "--continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_9999" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | |
E2ETestsCompletion: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
needs: [IntegrationTests_1000, IntegrationTests_1010, IntegrationTests_1020, IntegrationTests_1030, IntegrationTests_1040, IntegrationTests_1050, IntegrationTests_1060, IntegrationTests_1070, IntegrationTests_1080, IntegrationTests_1090, IntegrationTests_1100, IntegrationTests_1110, IntegrationTests_1120, IntegrationTests_1130, IntegrationTests_1200, IntegrationTests_1210, IntegrationTests_1220, IntegrationTests_1230, IntegrationTests_1240, IntegrationTests_1250, IntegrationTests_1260, IntegrationTests_1270, IntegrationTests_1280, IntegrationTests_1400, IntegrationTests_1410, IntegrationTests_1420, IntegrationTests_1430, IntegrationTests_1440, IntegrationTests_1500, IntegrationTests_1550, IntegrationTests_9999] | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "clean" | |
- name: Package Build Artifacts | |
if: success() || failure() | |
shell: bash | |
run: | | |
mkdir ${{ github.job }}-artifacts | |
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | |
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | |
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | |
- name: Upload Build Artifacts | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.job }} | |
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | |
retention-days: 30 | |
- name: Search all test XML files | |
id: process_test_xml | |
run: | | |
FILES=$(find . -name "TEST-*.xml" | tr '\n' ',' | sed 's/,$//') | |
echo "files=$FILES" >> $GITHUB_OUTPUT | |
for file in $(echo $FILES | tr ',' ' '); do | |
# Process each file | |
echo "Processing $file" | |
done | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: ${{ steps.process_test_xml.outputs.files }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 7715725 | |
repository: 540916718 | |
path: | | |
**/TEST-*.xml | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} |