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
This commit is contained in:
Lawrence Chen 2026-03-01 02:58:27 -08:00 committed by GitHub
parent e01236115e
commit e295f384fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 3 deletions

View file

@ -171,4 +171,4 @@ jobs:
-clonedSourcePackagesDirPath "$SOURCE_PACKAGES_DIR" \
-disableAutomaticPackageResolution \
-destination "platform=macOS" \
-only-testing:cmuxUITests/UpdatePillUITests test
-only-testing:cmuxUITests test

View file

@ -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