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

ci: skip windows e2e tests in specific scenario #2386

Merged
merged 3 commits into from May 12, 2024

Conversation

szymonrybczak
Copy link
Collaborator

@szymonrybczak szymonrybczak commented May 10, 2024

Summary:

When there's a change only in cli-platform-apple or cli-platform-ios it doesn't make sense to triger also Windows jobs, because there's no scenario that change in these packages would broke Windows builds.

Test Plan:

If there's only a change in cli-platform-apple or cli-platform-ios Windows jobs shouldn't be triggered.

Checklist

  • Documentation is up to date to reflect these changes.
  • Follows commit message convention described in CONTRIBUTING.md

@szymonrybczak szymonrybczak force-pushed the ci/run-win-e2e-only-in-specific-scenario branch 3 times, most recently from 57503fe to d8461c7 Compare May 10, 2024 13:46
@szymonrybczak szymonrybczak force-pushed the ci/run-win-e2e-only-in-specific-scenario branch 2 times, most recently from 09f4195 to 7d31fad Compare May 10, 2024 13:53
@szymonrybczak szymonrybczak force-pushed the ci/run-win-e2e-only-in-specific-scenario branch from 7d31fad to 7785f6a Compare May 10, 2024 13:54
@szymonrybczak
Copy link
Collaborator Author

As discussed with @TMisiukiewicz this Pull Request needs to be first merged to work correctly - Windows shouldn't be triggered when there's only change in cli-platform-apple or cli-platform-ios. This Pull Request contains a change in .github/workflows/test.yml, so in current scenario jobs are triggered correctly.

@@ -17,3 +17,4 @@ export {default as installPods} from './tools/installPods';

export {default as findXcodeProject} from './config/findXcodeProject';
export {default as findPbxprojFile} from './config/findPbxprojFile';
console.log('hello');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leftover

with:
list-files: shell
filters: |
specific_dir:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let’s rename this to something like „apple_dirs” in a follow-up PR and adjust the name of the job. „Changes” is super ambiguous.

@thymikee thymikee merged commit 21a82d4 into main May 12, 2024
9 of 11 checks passed
@thymikee thymikee deleted the ci/run-win-e2e-only-in-specific-scenario branch May 12, 2024 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants