From a33e23c731c383dad8114219f1f4d8c1b3365e81 Mon Sep 17 00:00:00 2001 From: pablo-guardiola Date: Fri, 6 Sep 2024 11:17:46 -0400 Subject: [PATCH] [WIP] test fail-closed --- .github/workflows/android.yaml | 3 +-- ci/files_changed.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/android.yaml b/.github/workflows/android.yaml index b0046814..982cf8b4 100644 --- a/.github/workflows/android.yaml +++ b/.github/workflows/android.yaml @@ -24,8 +24,7 @@ jobs: - name: check for relevant changes id: check_changes run: | - ./ci/check_bazel.sh //examples/android:android_app || ./ci/files_changed.sh .github/workflows/android.yaml || ./ci/files_changed.sh "^platform/jvm/gradle-test-app/.*\.(gradle|kts|kt|xml)$" && ./ci/run_tests.sh - true + ./ci/files_changed.sh .github/workflows/android.yaml || ./ci/files_changed.sh "^platform/jvm/gradle-test-app/.*\.(gradle|kts|kt|xml)$" && ./ci/run_tests.sh build_apk: runs-on: ubuntu-latest if: needs.pre_check.outputs.should_run == 'true' diff --git a/ci/files_changed.sh b/ci/files_changed.sh index edbd69a0..db9fbeec 100755 --- a/ci/files_changed.sh +++ b/ci/files_changed.sh @@ -7,4 +7,4 @@ set -e -git rev-parse --abbrev-ref HEAD | grep -q ^main$ || git diff --name-only "origin/$GITHUB_BASE_REF" | grep -E "$1" +git diff --name-only "test/$GITHUB_BASE_REF" | grep -E "$1"