-
Notifications
You must be signed in to change notification settings - Fork 335
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
Post error test results to Slack #4404
base: main
Are you sure you want to change the base?
Changes from all commits
93acc9b
2177c48
fe6bc4d
cb4a977
59fe040
9c40afa
5602857
129aa0b
cd3c29a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
orbs: | ||
macos: circleci/[email protected] | ||
slack: circleci/slack@4.10.1 | ||
slack: circleci/slack@5.0.0 | ||
# Disabled until compatible with M1: codecov: codecov/[email protected] | ||
# codecov: codecov/[email protected] | ||
|
||
|
@@ -92,6 +92,13 @@ aliases: | |
only: main | ||
|
||
commands: | ||
slack-notify: | ||
steps: | ||
- slack/notify: | ||
branch_pattern: main | ||
channel: 'feed-circleci-ios-failures' | ||
event: fail | ||
template: basic_fail_1 | ||
set-maximum-duration: | ||
parameters: | ||
seconds: | ||
|
@@ -461,6 +468,7 @@ jobs: | |
- run: | ||
name: Check pods and deployment targets | ||
command: bundle exec fastlane check_pods | ||
- slack-notify | ||
|
||
spm-release-build: | ||
executor: | ||
|
@@ -590,6 +598,7 @@ jobs: | |
- store_artifacts: | ||
path: fastlane/test_output | ||
destination: scan-test-output | ||
- slack-notify | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This also runs on every PR |
||
|
||
run-revenuecat-ui-ios-18: | ||
executor: | ||
|
@@ -623,6 +632,7 @@ jobs: | |
- store_artifacts: | ||
path: fastlane/test_output | ||
destination: scan-test-output | ||
- slack-notify | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same about running on every PR |
||
|
||
spm-revenuecat-ui-watchos: | ||
executor: | ||
|
@@ -698,6 +708,7 @@ jobs: | |
- store_artifacts: | ||
path: fastlane/test_output/xctest | ||
destination: scan-test-output | ||
- slack-notify | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this also runs on every PR |
||
|
||
run-test-ios-17: | ||
executor: | ||
|
@@ -726,6 +737,7 @@ jobs: | |
- store_artifacts: | ||
path: fastlane/test_output/xctest | ||
destination: scan-test-output | ||
- slack-notify | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this also runs on every PR |
||
|
||
run-test-ios-16: | ||
executor: | ||
|
@@ -943,7 +955,6 @@ jobs: | |
steps: | ||
- run-backend-tests: | ||
test_plan: "BackendIntegrationTests-SK2" | ||
|
||
backend-integration-tests-other: | ||
executor: | ||
name: macos-executor | ||
|
@@ -964,7 +975,6 @@ jobs: | |
steps: | ||
- run-backend-tests: | ||
test_plan: "BackendIntegrationTests-CustomEntitlements" | ||
|
||
release-checks: | ||
executor: | ||
name: macos-executor | ||
|
@@ -1080,6 +1090,7 @@ jobs: | |
- run: | ||
name: Prepare next version | ||
command: bundle exec fastlane prepare_next_version | ||
- slack-notify | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I love we are going to get notified by this |
||
|
||
installation-tests-cocoapods: | ||
executor: | ||
|
@@ -1188,6 +1199,7 @@ jobs: | |
path: fastlane/test_output | ||
- store_artifacts: | ||
path: fastlane/test_output | ||
- slack-notify | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we shouldn't run this on There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This actually runs on |
||
|
||
danger: | ||
docker: | ||
|
@@ -1296,6 +1308,7 @@ jobs: | |
- run: | ||
name: Build Paywalls Tester | ||
command: bundle exec fastlane build_paywalls_tester_for_emerge | ||
- slack-notify | ||
|
||
deploy-to-spm: | ||
docker: | ||
|
@@ -1344,13 +1357,27 @@ workflows: | |
- not: << pipeline.parameters.generate_snapshots >> | ||
- not: << pipeline.parameters.generate_revenuecatui_snapshots >> | ||
jobs: | ||
- lint | ||
- run-test-ios-17 | ||
- run-test-ios-18 | ||
- pod-lib-lint | ||
- run-revenuecat-ui-ios-17 | ||
- run-revenuecat-ui-ios-18 | ||
- emerge_purchases_ui_snapshot_tests | ||
- lint: | ||
context: | ||
- slack-secrets-ios | ||
- run-test-ios-17: | ||
context: | ||
- slack-secrets-ios | ||
- run-test-ios-18: | ||
context: | ||
- slack-secrets-ios | ||
- pod-lib-lint: | ||
context: | ||
- slack-secrets-ios | ||
- run-revenuecat-ui-ios-17: | ||
context: | ||
- slack-secrets-ios | ||
- run-revenuecat-ui-ios-18: | ||
context: | ||
- slack-secrets-ios | ||
- emerge_purchases_ui_snapshot_tests: | ||
context: | ||
- slack-secrets-ios | ||
|
||
create-tag: | ||
when: | ||
|
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 also runs on PRs, we don't need it here
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.
Hmm pod-lib-lint is executed also in
main
right? I'm planning to only remove the ones for jobs that are not supposed to run on main never