Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] TEST PR FOR #23748 #24131

Draft
wants to merge 1 commit into
base: tiagomar/ui-tests-reader-tests
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 5 additions & 70 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,37 +10,12 @@ steps:
#################
# Create Prototype Builds for WP and JP
#################
- group: "🛠 Prototype Builds"
steps:
- label: "🛠 WordPress Prototype Build"
command: ".buildkite/commands/prototype-build-wordpress.sh"
plugins: [$CI_TOOLKIT_PLUGIN]
if: "build.pull_request.id != null || build.pull_request.draft"
notify:
- github_commit_status:
context: "WordPress Prototype Build"

- label: "🛠 Jetpack Prototype Build"
command: ".buildkite/commands/prototype-build-jetpack.sh"
plugins: [$CI_TOOLKIT_PLUGIN]
if: "build.pull_request.id != null || build.pull_request.draft"
notify:
- github_commit_status:
context: "Jetpack Prototype Build"

#################
# Create Builds for Testing
#################
- group: "🛠 Builds for Testing"
steps:
- label: "🛠 :wordpress: Build for Testing"
key: "build_wordpress"
command: ".buildkite/commands/build-for-testing.sh wordpress"
plugins: [$CI_TOOLKIT_PLUGIN]
notify:
- github_commit_status:
context: "WordPress Build for Testing"

- label: "🛠 :jetpack: Build for Testing"
key: "build_jetpack"
command: ".buildkite/commands/build-for-testing.sh jetpack"
Expand All @@ -52,23 +27,16 @@ steps:
#################
# Run Unit Tests
#################
- label: "🔬 :wordpress: Unit Tests"
command: ".buildkite/commands/run-unit-tests.sh"
depends_on: "build_wordpress"
plugins: [$CI_TOOLKIT_PLUGIN]
artifact_paths:
- "build/results/*"
notify:
- github_commit_status:
context: "Unit Tests"


#################
# UI Tests
#################
- group: "🔬 UI Tests"
steps:
- label: "🔬 :jetpack: UI Tests (iPhone)"
- label: "🔬 :jetpack: UI Tests (iPhone) %N"
command: .buildkite/commands/run-ui-tests.sh 'iPhone 16'
parallelism: 10
depends_on: "build_jetpack"
plugins: [$CI_TOOLKIT_PLUGIN]
artifact_paths:
Expand All @@ -78,8 +46,9 @@ steps:
- github_commit_status:
context: "UI Tests (iPhone)"

- label: "🔬 :jetpack: UI Tests (iPad)"
- label: "🔬 :jetpack: UI Tests (iPad) %N"
command: .buildkite/commands/run-ui-tests.sh 'iPad (10th generation)'
parallelism: 10
depends_on: "build_jetpack"
plugins: [$CI_TOOLKIT_PLUGIN]
artifact_paths:
Expand All @@ -92,37 +61,3 @@ steps:
#################
# Linters
#################
- group: "Linters"
steps:
- label: "☢️ Danger - PR Check"
command: danger
key: danger
if: "build.pull_request.id != null"
retry:
manual:
permit_on_passed: true
agents:
queue: "linter"

- label: ":swift: SwiftLint"
command: swiftlint
notify:
- github_commit_status:
context: "SwiftLint"
agents:
queue: "linter"

- label: "🧹 Lint Translations"
command: "gplint /workdir/WordPress/Resources/AppStoreStrings.po"
plugins:
- docker#v3.8.0:
image: "public.ecr.aws/automattic/glotpress-validator:1.0.0"
agents:
queue: "default"
notify:
- github_commit_status:
context: "Lint Translations"

- label: ":sleuth_or_spy: Lint Localized Strings Format"
command: .buildkite/commands/lint-localized-strings-format.sh
plugins: [$CI_TOOLKIT_PLUGIN]