-
Notifications
You must be signed in to change notification settings - Fork 7
/
bitrise.yml
59 lines (59 loc) · 1.44 KB
/
bitrise.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
format_version: '6'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: ios
workflows:
primary:
steps:
- set-java-version@1:
inputs:
- set_java_version: '17'
- activate-ssh-key:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- git-clone: {}
- certificate-and-profile-installer: {}
- nvm@1: {}
- yarn: {}
inputs:
- command: test
title: Run yarn tests
- cocoapods-install: {}
- xcode-test:
title: Run iOS Unit Tests
- install-missing-android-tools: {}
- gradle-runner:
title: Run Android Unit Tests
inputs:
- gradle_task: ":test"
- slack:
is_always_run: true
run_if: "{{(not .IsPR) | and .IsBuildFailed}}"
inputs:
- channel: "$SLACK_SDK_CHANNEL"
- webhook_url: "$SLACK_WEBHOOK_URL"
app:
envs:
- opts:
is_expand: false
BITRISE_PROJECT_PATH: ios/MarigoldSDKReactNative.xcworkspace
- opts:
is_expand: false
BITRISE_SCHEME: MarigoldSDKReactNativeTests
- opts:
is_expand: false
GRADLEW_PATH: "./android/gradlew"
- opts:
is_expand: false
GRADLE_BUILD_FILE_PATH: android/build.gradle
trigger_map:
- push_branch: "*"
workflow: primary
- pull_request_source_branch: "*"
workflow: primary
- tag: "*"
workflow: primary
meta:
bitrise.io:
stack: osx-xcode-16.0.x
machine_type_id: g2-m1.4core