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

feat: refactor CI tests - WPB-11406 #1707

Draft
wants to merge 45 commits into
base: develop
Choose a base branch
from
Draft

Conversation

netbe
Copy link
Collaborator

@netbe netbe commented Jul 16, 2024

StoryWPB-11406 Refactor CI tests workflow

Issue

This PR allows to test all related frameworks when touching a framework on a PR. Previously it was not running tests of frameworks having the dependency.

It also moves the develop tests that are run when a PR is merged to be run nightly at 21:00.

  • add testplans to all targets
  • use fastlane to run tests
  • create dependency graph in ruby
  • run nightly all tests for release branches

TODO

  • add test plans for new frameworks introduced: WireAPI...
  • run tests for new frameworks introduced: WireAPI...
  • handle warnings report

Testing

Running PR as a test


Checklist

  • Title contains a reference JIRA issue number like [WPB-XXX].
  • Description is filled and free of optional paragraphs.
  • Adds/updates automated tests.

@@ -676,8 +741,6 @@ class Build
result = "playground-#{normalized_branch_name}/#{suffix}"
when "Development"
result = "development/#{suffix}"
when "Internal"
Copy link
Collaborator Author

@netbe netbe Sep 11, 2024

Choose a reason for hiding this comment

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

these are unused build flavors

@@ -268,7 +323,7 @@ platform :ios do
end

def generate_build_number
build_number = `curl -H "Accept: text/plain" -X POST -d '' "https://incrementator.appspot.com/api/v1/code/ORUHILeMbXB4D5Z5conFzYoYpQPjVnyUA4pu56X2MHVJSFxM/increment"`
build_number = `curl -H "Accept: text/plain" -X POST -d '' "https://incrementator.appspot.com/api/v1/code/iqZCQLhyVYKxWVzecuQHXBbhfJJJdtoxUXvtMzn99MoFlJIW/increment"`
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

need to revert this

Copy link
Contributor

github-actions bot commented Oct 2, 2024

Test Results

59 tests   57 ✅  19s ⏱️
 5 suites   2 💤
 1 files     0 ❌

Results for commit 1a03543.

♻️ This comment has been updated with latest results.

@netbe netbe changed the title feat: refactor CI tests feat: refactor CI tests - WPB-11406 Oct 2, 2024
@echoes-hq echoes-hq bot added the echoes: throughput/ci-maintenance Changes we need to do to keep CI healthy and fast label Oct 2, 2024
@netbe netbe removed the WIP label Oct 10, 2024
@netbe netbe mentioned this pull request Oct 30, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
echoes: throughput/ci-maintenance Changes we need to do to keep CI healthy and fast
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant