Skip to content

Commit

Permalink
Merge branch 'master' into fix/folderFiles_null_check
Browse files Browse the repository at this point in the history
  • Loading branch information
MikhailSuendukov authored Jan 18, 2024
2 parents 2670a64 + 99c8c4e commit 7c4a351
Show file tree
Hide file tree
Showing 37 changed files with 50,324 additions and 16,790 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @microsoft/appcenter-fte
318 changes: 318 additions & 0 deletions .github/fabricbot.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,318 @@
{
"version": "1.0",
"tasks": [
{
"taskType": "scheduled",
"capabilityId": "ScheduledSearch",
"subCapability": "ScheduledSearch",
"version": "1.1",
"config": {
"frequency": [
{
"weekDay": 0,
"hours": [
2,
6,
10,
14,
18,
22
],
"timezoneOffset": 1
},
{
"weekDay": 1,
"hours": [
2,
6,
10,
14,
18,
22
],
"timezoneOffset": 1
},
{
"weekDay": 2,
"hours": [
2,
6,
10,
14,
18,
22
],
"timezoneOffset": 1
},
{
"weekDay": 3,
"hours": [
2,
6,
10,
14,
18,
22
],
"timezoneOffset": 1
},
{
"weekDay": 4,
"hours": [
2,
6,
10,
14,
18,
22
],
"timezoneOffset": 1
},
{
"weekDay": 5,
"hours": [
2,
6,
10,
14,
18,
22
],
"timezoneOffset": 1
},
{
"weekDay": 6,
"hours": [
2,
6,
10,
14,
18,
22
],
"timezoneOffset": 1
}
],
"searchTerms": [
{
"name": "isOpen",
"parameters": {}
},
{
"name": "noLabel",
"parameters": {
"label": "bug"
}
},
{
"name": "noLabel",
"parameters": {
"label": "security"
}
},
{
"name": "noLabel",
"parameters": {
"label": "stale"
}
},
{
"name": "noLabel",
"parameters": {
"label": "do not close"
}
},
{
"name": "noActivitySince",
"parameters": {
"days": 60
}
},
{
"name": "isIssue",
"parameters": {}
},
{
"name": "noAssignees",
"parameters": {}
}
],
"taskName": "Mark issues as stale (60 days)",
"actions": [
{
"name": "addLabel",
"parameters": {
"label": "stale"
}
},
{
"name": "addReply",
"parameters": {
"comment": "This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment."
}
}
]
},
"id": "v8RMdulExiln5tDIcHkDG"
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "IssueCommentResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "hasLabel",
"parameters": {
"label": "stale"
}
}
]
},
"eventType": "issue",
"eventNames": [
"issue_comment"
],
"taskName": "Remove stale label if someone comments",
"actions": [
{
"name": "removeLabel",
"parameters": {
"label": "stale"
}
}
]
},
"id": "QjKAHn8H_s2w4-FPDwsTJ"
},
{
"taskType": "scheduled",
"capabilityId": "ScheduledSearch",
"subCapability": "ScheduledSearch",
"version": "1.1",
"config": {
"frequency": [
{
"weekDay": 0,
"hours": [
0,
6,
12,
18
]
},
{
"weekDay": 1,
"hours": [
0,
6,
12,
18
]
},
{
"weekDay": 2,
"hours": [
0,
6,
12,
18
]
},
{
"weekDay": 3,
"hours": [
0,
6,
12,
18
]
},
{
"weekDay": 4,
"hours": [
0,
6,
12,
18
]
},
{
"weekDay": 5,
"hours": [
0,
6,
12,
18
]
},
{
"weekDay": 6,
"hours": [
0,
6,
12,
18
]
}
],
"searchTerms": [
{
"name": "isOpen",
"parameters": {}
},
{
"name": "isIssue",
"parameters": {}
},
{
"name": "hasLabel",
"parameters": {
"label": "stale"
}
},
{
"name": "noLabel",
"parameters": {
"label": "bug"
}
},
{
"name": "noLabel",
"parameters": {
"label": "do not close"
}
},
{
"name": "noAssignees",
"parameters": {}
},
{
"name": "noActivitySince",
"parameters": {
"days": 15
}
}
],
"taskName": "Close Stale issues after 15 days",
"actions": [
{
"name": "addReply",
"parameters": {
"comment": "This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion."
}
},
{
"name": "closeIssue",
"parameters": {}
}
]
},
"id": "9IHqeWe1Xes6__bAZYk5M"
}
],
"userGroups": []
}
46 changes: 32 additions & 14 deletions .github/workflows/react-native-code-push-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,42 +11,60 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
api-level: [27]
api-level: [ 27 ]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Start adb server
run: adb devices
- name: Gradle cache
uses: gradle/gradle-build-action@v2
- name: Download system image "android-${{ matrix.api-level }}"
run: $ANDROID_HOME/tools/bin/sdkmanager "system-images;android-${{ matrix.api-level }};google_apis;x86"
- name: Create android emulator
run: $ANDROID_HOME/tools/bin/avdmanager create avd --force --name TestEmulator --abi google_apis/x86 --package 'system-images;android-${{ matrix.api-level }};google_apis;x86' --device "Nexus 6P"
- name: Start android emulator
run: $ANDROID_HOME/emulator/emulator -avd TestEmulator -noaudio -no-window -no-snapshot-save -no-boot-anim -memory 6144 &
- run: sleep 120
- name: Wait for emulator to boot
run: $ANDROID_HOME/platform-tools/adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed | tr -d '\r') ]]; do sleep 1; done'
- run: adb shell settings put global window_animation_scale 0.0
- run: adb shell settings put global transition_animation_scale 0.0
- run: adb shell settings put global animator_duration_scale 0.0
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'microsoft'
java-version: '11'
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7.6'
bundler-cache: true
- name: Package Installation
run: npm install
- name: Install react-native-cli
run: npm install react-native-cli
- name: test:android
run: npm run test:android
- name: Setup Android tests
run: npm run build:tests && npm run test:setup:android
- name: Run Android test
run: npm run test:fast:android

test-iOS:
name: Test iOS app
runs-on: macos-latest
env:
NO_FLIPPER: ${{ secrets.NO_FLIPPER }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install dependecies
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7.6'
bundler-cache: true
- name: (Workaround) Install activesupport 7.0.8
run: gem install activesupport -v 7.0.8
- name: Install dependencies
run: npm install
- name: Install react-native-cli
run: npm install react-native-cli
- name: Build tests
run: npm run build:tests
- name: Setup tests
run: npm run test:setup:ios
- name: Setup iOS tests
run: npm run build:tests && npm run test:setup:ios
- name: Run tests
run: npm run test:fast:ios
Loading

0 comments on commit 7c4a351

Please sign in to comment.