From 4168ece5d277f611c79412d8334a130bf4bb519d Mon Sep 17 00:00:00 2001 From: Douglas Reis Date: Fri, 15 Nov 2024 16:54:40 +0000 Subject: [PATCH 1/2] [ci,nightly] Fix the branch name when uploading report Signed-off-by: Douglas Reis --- .github/workflows/nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 18f71c1e15669..2032373df1741 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -78,5 +78,5 @@ jobs: # Bazel produce one xml for each test. So we merge them together. find -L bazel-out -name "test.xml" | xargs merge-junit -o "$BAZEL_TEST_RESULTS" - BUCKET_PATH=$GS_PATH/job/${{ github.job }}/branch/${{ github.ref_name }}/$(date +%Y-%m-%d-%H%M%S)_${BAZEL_TEST_RESULTS} + BUCKET_PATH=$GS_PATH/job/${{ github.job }}/branch/${{ inputs.branch || 'earlgrey_1.0.0'}}/$(date +%Y-%m-%d-%H%M%S)_${BAZEL_TEST_RESULTS} gcloud storage cp $BAZEL_TEST_RESULTS "$BUCKET_PATH" From 0c002d1a71fc2ae1967756019618b955a5e57d48 Mon Sep 17 00:00:00 2001 From: Douglas Reis Date: Fri, 15 Nov 2024 16:56:39 +0000 Subject: [PATCH 2/2] [ci,nightly] Remove broken tests from build Signed-off-by: Douglas Reis --- .github/workflows/nightly.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 2032373df1741..f77101513e38f 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -59,7 +59,7 @@ jobs: | grep -v examples \ | grep -v penetrationtests \ > "$bazel_tests" - ./bazelisk.sh test --build_tests_only --target_pattern_file="$bazel_tests" + ./bazelisk.sh test --build_tests_only --test_tag_filters=-broken --target_pattern_file="$bazel_tests" - name: Run tests after ROM_EXT boot stage if: success() || failure() @@ -70,7 +70,7 @@ jobs: | grep -v examples \ | grep -v penetrationtests \ > "$bazel_tests" - ./bazelisk.sh test --build_tests_only --target_pattern_file="$bazel_tests" + ./bazelisk.sh test --build_tests_only --test_tag_filters=-broken --target_pattern_file="$bazel_tests" - name: Publish bazel test results if: success() || failure()