|
| 1 | +aliases: |
| 2 | + - &2020 "2020.3.48f1" |
| 3 | + - &2021 "2021.3.36f1" |
| 4 | + - &2022 "2022.3.22f1" |
| 5 | + - &2023 "2023.2.19f1" |
| 6 | + |
| 7 | +agents: |
| 8 | + queue: macos-14 |
| 9 | + |
| 10 | +steps: |
| 11 | + # |
| 12 | + # Build Android test fixtures |
| 13 | + # |
| 14 | + - label: ":android: Build Android test fixture for Unity 2020" |
| 15 | + timeout_in_minutes: 30 |
| 16 | + key: "build-android-fixture-2020" |
| 17 | + depends_on: "build-artifacts" |
| 18 | + env: |
| 19 | + UNITY_VERSION: *2020 |
| 20 | + plugins: |
| 21 | + artifacts#v1.9.0: |
| 22 | + download: |
| 23 | + - Bugsnag.unitypackage |
| 24 | + upload: |
| 25 | + - features/fixtures/maze_runner/mazerunner_2020.apk |
| 26 | + - features/fixtures/build_android_apk.log |
| 27 | + commands: |
| 28 | + - bundle install |
| 29 | + - rake test:android:build |
| 30 | + retry: |
| 31 | + automatic: |
| 32 | + - exit_status: "*" |
| 33 | + limit: 1 |
| 34 | + |
| 35 | + - label: ":android: Build Android DEV test fixture for Unity 2021" |
| 36 | + timeout_in_minutes: 30 |
| 37 | + key: "build-android-dev-fixture-2021" |
| 38 | + depends_on: "build-artifacts" |
| 39 | + env: |
| 40 | + UNITY_VERSION: *2021 |
| 41 | + plugins: |
| 42 | + artifacts#v1.9.0: |
| 43 | + download: |
| 44 | + - Bugsnag.unitypackage |
| 45 | + upload: |
| 46 | + - features/fixtures/maze_runner/mazerunner_dev_2021.apk |
| 47 | + - features/fixtures/build_android_apk.log |
| 48 | + commands: |
| 49 | + - bundle install |
| 50 | + - rake test:android:build_dev |
| 51 | + retry: |
| 52 | + automatic: |
| 53 | + - exit_status: "*" |
| 54 | + limit: 1 |
| 55 | + |
| 56 | + - label: ":android: Build Android test fixture for Unity 2022" |
| 57 | + timeout_in_minutes: 30 |
| 58 | + key: "build-android-fixture-2022" |
| 59 | + depends_on: "build-artifacts" |
| 60 | + env: |
| 61 | + UNITY_VERSION: *2022 |
| 62 | + plugins: |
| 63 | + artifacts#v1.9.0: |
| 64 | + download: |
| 65 | + - Bugsnag.unitypackage |
| 66 | + upload: |
| 67 | + - features/fixtures/maze_runner/mazerunner_2022.apk |
| 68 | + - features/fixtures/build_android_apk.log |
| 69 | + commands: |
| 70 | + - bundle install |
| 71 | + - rake test:android:build |
| 72 | + retry: |
| 73 | + automatic: |
| 74 | + - exit_status: "*" |
| 75 | + limit: 1 |
| 76 | + |
| 77 | + - label: ":android: Build Android test fixture for Unity 2023" |
| 78 | + timeout_in_minutes: 30 |
| 79 | + key: "build-android-fixture-2023" |
| 80 | + depends_on: "build-artifacts" |
| 81 | + env: |
| 82 | + UNITY_VERSION: *2023 |
| 83 | + plugins: |
| 84 | + artifacts#v1.9.0: |
| 85 | + download: |
| 86 | + - Bugsnag.unitypackage |
| 87 | + upload: |
| 88 | + - features/fixtures/maze_runner/mazerunner_2023.apk |
| 89 | + - features/fixtures/build_android_apk.log |
| 90 | + commands: |
| 91 | + - bundle install |
| 92 | + - rake test:android:build |
| 93 | + retry: |
| 94 | + automatic: |
| 95 | + - exit_status: "*" |
| 96 | + limit: 1 |
| 97 | + |
| 98 | + # - label: ':android: Build Android EDM test fixture for Unity 2020' |
| 99 | + # timeout_in_minutes: 30 |
| 100 | + # key: 'build-edm-fixture-2020' |
| 101 | + # depends_on: 'build-artifacts' |
| 102 | + # env: |
| 103 | + # UNITY_VERSION: *2020 |
| 104 | + # plugins: |
| 105 | + # artifacts#v1.9.0: |
| 106 | + # download: |
| 107 | + # - Bugsnag.unitypackage |
| 108 | + # upload: |
| 109 | + # - features/fixtures/EDM_Fixture/edm_2020.apk |
| 110 | + # - features/scripts/buildEdmFixture.log |
| 111 | + # - features/scripts/edmImport.log |
| 112 | + # - features/scripts/enableEdm.log |
| 113 | + # commands: |
| 114 | + # - rake test:edm:build |
| 115 | + # retry: |
| 116 | + # automatic: |
| 117 | + # - exit_status: "*" |
| 118 | + # limit: 1 |
| 119 | + |
| 120 | + # |
| 121 | + # Run Android tests |
| 122 | + # |
| 123 | + - label: ":bitbar: :android: Run Android e2e tests for Unity 2020" |
| 124 | + timeout_in_minutes: 60 |
| 125 | + depends_on: "build-android-fixture-2020" |
| 126 | + agents: |
| 127 | + queue: opensource |
| 128 | + env: |
| 129 | + UNITY_VERSION: *2020 |
| 130 | + plugins: |
| 131 | + artifacts#v1.9.0: |
| 132 | + download: |
| 133 | + - "features/fixtures/maze_runner/mazerunner_2020.apk" |
| 134 | + upload: |
| 135 | + - "maze_output/**/*" |
| 136 | + - "maze_output/metrics.csv" |
| 137 | + docker-compose#v4.7.0: |
| 138 | + pull: maze-runner-bitbar |
| 139 | + run: maze-runner-bitbar |
| 140 | + service-ports: true |
| 141 | + command: |
| 142 | + - "features/csharp" |
| 143 | + - "features/android" |
| 144 | + - "--app=features/fixtures/maze_runner/mazerunner_2020.apk" |
| 145 | + - "--farm=bb" |
| 146 | + - "--appium-version=1.22" |
| 147 | + - "--device=ANDROID_10|ANDROID_11|ANDROID_12|ANDROID_13" |
| 148 | + - "--no-tunnel" |
| 149 | + - "--aws-public-ip" |
| 150 | + - "--fail-fast" |
| 151 | + concurrency: 25 |
| 152 | + concurrency_group: "bitbar" |
| 153 | + concurrency_method: eager |
| 154 | + |
| 155 | + - label: ":bitbar: :android: Run Android DEV e2e tests for Unity 2021" |
| 156 | + timeout_in_minutes: 60 |
| 157 | + depends_on: "build-android-dev-fixture-2021" |
| 158 | + agents: |
| 159 | + queue: opensource |
| 160 | + env: |
| 161 | + UNITY_VERSION: *2021 |
| 162 | + plugins: |
| 163 | + artifacts#v1.5.0: |
| 164 | + download: |
| 165 | + - "features/fixtures/maze_runner/mazerunner_dev_2021.apk" |
| 166 | + upload: |
| 167 | + - "maze_output/**/*" |
| 168 | + - "maze_output/metrics.csv" |
| 169 | + docker-compose#v4.7.0: |
| 170 | + pull: maze-runner-bitbar |
| 171 | + run: maze-runner-bitbar |
| 172 | + service-ports: true |
| 173 | + command: |
| 174 | + - "features/csharp" |
| 175 | + - "features/android" |
| 176 | + - "--app=features/fixtures/maze_runner/mazerunner_dev_2021.apk" |
| 177 | + - "--farm=bb" |
| 178 | + - "--appium-version=1.22" |
| 179 | + - "--device=ANDROID_10|ANDROID_11|ANDROID_12|ANDROID_13" |
| 180 | + - "--no-tunnel" |
| 181 | + - "--aws-public-ip" |
| 182 | + concurrency: 25 |
| 183 | + concurrency_group: "bitbar" |
| 184 | + concurrency_method: eager |
| 185 | + |
| 186 | + - label: ":bitbar: :android: Run Android e2e tests for Unity 2022" |
| 187 | + timeout_in_minutes: 60 |
| 188 | + depends_on: "build-android-fixture-2022" |
| 189 | + agents: |
| 190 | + queue: opensource |
| 191 | + env: |
| 192 | + UNITY_VERSION: *2022 |
| 193 | + plugins: |
| 194 | + artifacts#v1.9.0: |
| 195 | + download: |
| 196 | + - "features/fixtures/maze_runner/mazerunner_2022.apk" |
| 197 | + upload: |
| 198 | + - "maze_output/**/*" |
| 199 | + - "maze_output/metrics.csv" |
| 200 | + docker-compose#v4.7.0: |
| 201 | + pull: maze-runner-bitbar |
| 202 | + run: maze-runner-bitbar |
| 203 | + service-ports: true |
| 204 | + command: |
| 205 | + - "features/csharp" |
| 206 | + - "features/android" |
| 207 | + - "--app=features/fixtures/maze_runner/mazerunner_2022.apk" |
| 208 | + - "--farm=bb" |
| 209 | + - "--appium-version=1.22" |
| 210 | + - "--device=ANDROID_10|ANDROID_11|ANDROID_12|ANDROID_13" |
| 211 | + - "--no-tunnel" |
| 212 | + - "--aws-public-ip" |
| 213 | + - "--fail-fast" |
| 214 | + concurrency: 25 |
| 215 | + concurrency_group: "bitbar" |
| 216 | + concurrency_method: eager |
| 217 | + |
| 218 | + - label: ":bitbar: :android: Run Android e2e tests for Unity 2023" |
| 219 | + timeout_in_minutes: 60 |
| 220 | + depends_on: "build-android-fixture-2023" |
| 221 | + agents: |
| 222 | + queue: opensource |
| 223 | + env: |
| 224 | + UNITY_VERSION: *2023 |
| 225 | + plugins: |
| 226 | + artifacts#v1.9.0: |
| 227 | + download: |
| 228 | + - "features/fixtures/maze_runner/mazerunner_2023.apk" |
| 229 | + upload: |
| 230 | + - "maze_output/**/*" |
| 231 | + - "maze_output/metrics.csv" |
| 232 | + docker-compose#v4.7.0: |
| 233 | + pull: maze-runner-bitbar |
| 234 | + run: maze-runner-bitbar |
| 235 | + service-ports: true |
| 236 | + command: |
| 237 | + - "features/csharp" |
| 238 | + - "features/android" |
| 239 | + - "--app=features/fixtures/maze_runner/mazerunner_2023.apk" |
| 240 | + - "--farm=bb" |
| 241 | + - "--appium-version=1.22" |
| 242 | + - "--device=ANDROID_10|ANDROID_11|ANDROID_12|ANDROID_13" |
| 243 | + - "--no-tunnel" |
| 244 | + - "--aws-public-ip" |
| 245 | + - "--fail-fast" |
| 246 | + concurrency: 25 |
| 247 | + concurrency_group: "bitbar" |
| 248 | + concurrency_method: eager |
| 249 | + |
| 250 | + # - label: ':android: Run Android EDM e2e tests for Unity 2020' |
| 251 | + # timeout_in_minutes: 60 |
| 252 | + # depends_on: 'build-edm-fixture-2020' |
| 253 | + # agents: |
| 254 | + # queue: opensource |
| 255 | + # env: |
| 256 | + # UNITY_VERSION: *2021 |
| 257 | + # plugins: |
| 258 | + # artifacts#v1.9.0: |
| 259 | + # download: |
| 260 | + # - "features/fixtures/EDM_Fixture/edm_2020.apk" |
| 261 | + # upload: |
| 262 | + # - "maze_output/**/*" |
| 263 | + # docker-compose#v3.7.0: |
| 264 | + # pull: maze-runner |
| 265 | + # run: maze-runner |
| 266 | + # command: |
| 267 | + # - "--app=/app/features/fixtures/EDM_Fixture/edm_2020.apk" |
| 268 | + # - "--farm=bs" |
| 269 | + # - "--device=ANDROID_11_0" |
| 270 | + # - "features/edm" |
| 271 | + # concurrency: 5 |
| 272 | + # concurrency_group: browserstack-app |
| 273 | + # concurrency_method: eager |
| 274 | + |
0 commit comments