From e295f384fcddca5ed1861c1b1e252586343926e8 Mon Sep 17 00:00:00 2001 From: Lawrence Chen <54008264+lawrencecchen@users.noreply.github.com> Date: Sun, 1 Mar 2026 02:58:27 -0800 Subject: [PATCH] Run all XCUITests in CI and add skip_unit_tests to Depot workflow (#718) * Run all XCUITests in CI instead of just UpdatePillUITests Removes the -only-testing:cmuxUITests/UpdatePillUITests filter so new test classes are picked up automatically. No more workflow edits needed when adding tests. * Add skip_unit_tests input to test-depot workflow --- .github/workflows/ci.yml | 2 +- .github/workflows/test-depot.yml | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 37ba0110..91128bce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -171,4 +171,4 @@ jobs: -clonedSourcePackagesDirPath "$SOURCE_PACKAGES_DIR" \ -disableAutomaticPackageResolution \ -destination "platform=macOS" \ - -only-testing:cmuxUITests/UpdatePillUITests test + -only-testing:cmuxUITests test diff --git a/.github/workflows/test-depot.yml b/.github/workflows/test-depot.yml index 4a0a4aaa..b63fe387 100644 --- a/.github/workflows/test-depot.yml +++ b/.github/workflows/test-depot.yml @@ -7,8 +7,13 @@ on: description: Branch or SHA to test required: false default: "" + skip_unit_tests: + description: Skip unit tests (run only UI tests) + required: false + default: false + type: boolean skip_ui_tests: - description: Skip UI tests (headless Depot runners may not support them) + description: Skip UI tests (run only unit tests) required: false default: false type: boolean @@ -95,6 +100,7 @@ jobs: done - name: Run unit tests + if: ${{ !inputs.skip_unit_tests }} run: | set -euo pipefail SOURCE_PACKAGES_DIR="$PWD/.ci-source-packages" @@ -143,4 +149,4 @@ jobs: -clonedSourcePackagesDirPath "$SOURCE_PACKAGES_DIR" \ -disableAutomaticPackageResolution \ -destination "platform=macOS" \ - -only-testing:cmuxUITests/UpdatePillUITests test + -only-testing:cmuxUITests test