-
Notifications
You must be signed in to change notification settings - Fork 15
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
base: release/cycle-3.114
Are you sure you want to change the base?
Conversation
…o chore/unify-schemes-and-testplans-WPB-11406
…refactor-ci-tests # Conflicts: # .github/workflows/_reusable_run_tests.yml # .github/workflows/test_pr_changes.yml
…o chore/unify-schemes-and-testplans-WPB-11406
…refactor-ci-tests
uses: 8398a7/action-slack@v3 | ||
with: | ||
status: ${{ job.status }} | ||
text: "🆘 Tests for 'develop' failed 🆘\ncommit: https://github.com/wireapp/wire-ios-mono/commit/${{ github.sha }}\n**Triggered by:** ${{ github.triggering_actor }}\n**Build log:** ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n" | ||
text: "🆘 Tests for '${{ github.ref_name }}' failed 🆘\ncommit: https://github.com/wireapp/wire-ios-mono/commit/${{ github.sha }}\n**Triggered by:** ${{ github.triggering_actor }}\n**Build log:** ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change this message because it might be green + different channel "Nightly tests" + check github.sha
fastlane/framework.rb
Outdated
when "wire-ios" | ||
"Wire-iOS" | ||
when "WireFoundation" | ||
"WireFoundationAll" # use a custom scheme that includes all targets of WireFoundation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WireFoundation-Package
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this cannot work so I had to duplicate the scheme
env: | ||
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_USERNAME: ${{ secrets.ZENKINS_USERNAME }} | ||
SLACK_WEBHOOK_URL: ${{ secrets.WIRE_IOS_CI_WEBHOOK }} | ||
SLACK_WEBHOOK_URL: ${{ secrets[inputs.notify_secret] }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
different channel depending on parent workflow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added this file because it does not work with WireFoundation-Package with Fastlane
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.
bundle exec fastlane select_frameworks
TODO
Testing
Running PR as a test
Checklist
[WPB-XXX]
.