<commit_before><commit_msg>Move Bazel CI configuration to this repository<commit_after># https://github.com/googlesamples/android-testing#experimental-bazel-support
---
platforms:
  ubuntu1404:
    build_targets:
    - "//ui/..."
    test_flags:
    - "--local_test_jobs=8" # Run at most 8 tests (= emulators) in parallel
    - "--flaky_test_attempts=3" # Flakes.
    - "--spawn_strategy=standalone" # Reduce flakes.
    test_targets:
    - "//ui/uiautomator/BasicSample:BasicSampleInstrumentationTest_23_x86"
    - "//ui/espresso/RecyclerViewSample:RecyclerViewSampleInstrumentationTest_23_x86"
    - "//ui/espresso/MultiWindowSample:MultiWindowSampleInstrumentationTest_23_x86"
    - "//ui/espresso/IntentsBasicSample:IntentsBasicSampleInstrumentationTest_23_x86"
    - "//ui/espresso/IntentsAdvancedSample:IntentsAdvancedSampleInstrumentationTest_23_x86"
    - "//ui/espresso/IdlingResourceSample:IdlingResourceSampleInstrumentationTest_23_x86"
    - "//ui/espresso/DataAdapterSample:DataAdapterSampleInstrumentationTest_23_x86"
    - "//ui/espresso/CustomMatcherSample:CustomMatcherSampleInstrumentationTest_23_x86"
    - "//ui/espresso/BasicSample:BasicSampleInstrumentationTest_23_x86"
  ubuntu1604:
    build_targets:
    - "//ui/..."
    test_flags:
    - "--local_test_jobs=8" # Run at most 8 tests (= emulators) in parallel
    - "--flaky_test_attempts=3" # Flakes.
    - "--spawn_strategy=standalone" # Reduce flakes.
    test_targets:
    - "//ui/uiautomator/BasicSample:BasicSampleInstrumentationTest_23_x86"
    - "//ui/espresso/RecyclerViewSample:RecyclerViewSampleInstrumentationTest_23_x86"
    - "//ui/espresso/MultiWindowSample:MultiWindowSampleInstrumentationTest_23_x86"
    - "//ui/espresso/IntentsBasicSample:IntentsBasicSampleInstrumentationTest_23_x86"
    - "//ui/espresso/IntentsAdvancedSample:IntentsAdvancedSampleInstrumentationTest_23_x86"
    - "//ui/espresso/IdlingResourceSample:IdlingResourceSampleInstrumentationTest_23_x86"
    - "//ui/espresso/DataAdapterSample:DataAdapterSampleInstrumentationTest_23_x86"
    - "//ui/espresso/CustomMatcherSample:CustomMatcherSampleInstrumentationTest_23_x86"
    - "//ui/espresso/BasicSample:BasicSampleInstrumentationTest_23_x86"
  ubuntu1804:
    build_targets:
    - "//ui/..."
    test_flags:
    - "--local_test_jobs=8" # Run at most 8 tests (= emulators) in parallel
    - "--flaky_test_attempts=3" # Flakes.
    - "--spawn_strategy=standalone" # Reduce flakes.
    test_targets:
    - "//ui/uiautomator/BasicSample:BasicSampleInstrumentationTest_23_x86"
    - "//ui/espresso/RecyclerViewSample:RecyclerViewSampleInstrumentationTest_23_x86"
    - "//ui/espresso/MultiWindowSample:MultiWindowSampleInstrumentationTest_23_x86"
    - "//ui/espresso/IntentsBasicSample:IntentsBasicSampleInstrumentationTest_23_x86"
    - "//ui/espresso/IntentsAdvancedSample:IntentsAdvancedSampleInstrumentationTest_23_x86"
    - "//ui/espresso/IdlingResourceSample:IdlingResourceSampleInstrumentationTest_23_x86"
    - "//ui/espresso/DataAdapterSample:DataAdapterSampleInstrumentationTest_23_x86"
    - "//ui/espresso/CustomMatcherSample:CustomMatcherSampleInstrumentationTest_23_x86"
    - "//ui/espresso/BasicSample:BasicSampleInstrumentationTest_23_x86"
  macos:
    # Testing does not work for macos and windows yet
    build_targets: # Results of `bazel query 'kind(android_binary, //...)'
      - "//ui/uiautomator/BasicSample:BasicSampleTest"
      - "//ui/uiautomator/BasicSample:BasicSample"
      - "//ui/espresso/RecyclerViewSample:RecyclerViewSampleTest"
      - "//ui/espresso/RecyclerViewSample:RecyclerViewSample"
      - "//ui/espresso/MultiWindowSample:MultiWindowSampleTest"
      - "//ui/espresso/MultiWindowSample:MultiWindowSample"
      - "//ui/espresso/IntentsBasicSample:IntentsBasicSampleTest"
      - "//ui/espresso/IntentsBasicSample:IntentsBasicSample"
      - "//ui/espresso/IntentsAdvancedSample:IntentsAdvancedSampleTest"
      - "//ui/espresso/IntentsAdvancedSample:IntentsAdvancedSample"
      - "//ui/espresso/IdlingResourceSample:IdlingResourceSampleTest"
      - "//ui/espresso/IdlingResourceSample:IdlingResourceSample"
      - "//ui/espresso/DataAdapterSample:DataAdapterSampleTest"
      - "//ui/espresso/DataAdapterSample:DataAdapterSample"
      - "//ui/espresso/CustomMatcherSample:CustomMatcherSampleTest"
      - "//ui/espresso/CustomMatcherSample:CustomMatcherSample"
      - "//ui/espresso/BasicSample:BasicSampleTest"
      - "//ui/espresso/BasicSample:BasicSample"
  windows:
    build_targets: # Results of `bazel query 'kind(android_binary, //...)'
      - "//ui/uiautomator/BasicSample:BasicSampleTest"
      - "//ui/uiautomator/BasicSample:BasicSample"
      - "//ui/espresso/RecyclerViewSample:RecyclerViewSampleTest"
      - "//ui/espresso/RecyclerViewSample:RecyclerViewSample"
      - "//ui/espresso/MultiWindowSample:MultiWindowSampleTest"
      - "//ui/espresso/MultiWindowSample:MultiWindowSample"
      - "//ui/espresso/IntentsBasicSample:IntentsBasicSampleTest"
      - "//ui/espresso/IntentsBasicSample:IntentsBasicSample"
      - "//ui/espresso/IntentsAdvancedSample:IntentsAdvancedSampleTest"
      - "//ui/espresso/IntentsAdvancedSample:IntentsAdvancedSample"
      - "//ui/espresso/IdlingResourceSample:IdlingResourceSampleTest"
      - "//ui/espresso/IdlingResourceSample:IdlingResourceSample"
      - "//ui/espresso/DataAdapterSample:DataAdapterSampleTest"
      - "//ui/espresso/DataAdapterSample:DataAdapterSample"
      - "//ui/espresso/CustomMatcherSample:CustomMatcherSampleTest"
      - "//ui/espresso/CustomMatcherSample:CustomMatcherSample"
      - "//ui/espresso/BasicSample:BasicSampleTest"
      - "//ui/espresso/BasicSample:BasicSample"
{'fraction_non_alphanumeric': 0.11823788546255506, 'fraction_numerical': 0.022731277533039648, 'mean_word_length': 4.329577464788732, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4497150', 'n_tokens_mistral': 2022, 'n_tokens_neox': 1894, 'n_words': 152}