-
-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/8.0.0' into denrase/android-native-contexts
# Conflicts: # flutter/android/src/main/kotlin/io/sentry/flutter/SentryFlutterPlugin.kt
- Loading branch information
Showing
10 changed files
with
130 additions
and
92 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
* @marandaneto @krystofwoldrich @stefanosiano | ||
* @krystofwoldrich @stefanosiano @buenaflor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
name: flutter integration tests | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- release/** | ||
pull_request: | ||
paths-ignore: | ||
- 'file/**' | ||
# Currently broken, enable after fixing | ||
workflow_dispatch | ||
# push: | ||
# branches: | ||
# - main | ||
# - release/** | ||
# pull_request: | ||
# paths-ignore: | ||
# - 'file/**' | ||
|
||
jobs: | ||
cancel-previous-workflow: | ||
|
@@ -16,35 +18,35 @@ jobs: | |
uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5 # [email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
test-android: | ||
runs-on: macos-latest | ||
timeout-minutes: 30 | ||
defaults: | ||
run: | ||
working-directory: ./flutter/example | ||
run: | ||
working-directory: ./flutter/example | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
sdk: ['stable', 'beta'] | ||
fail-fast: false | ||
matrix: | ||
sdk: ["stable", "beta"] | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'adopt' | ||
java-version: '11' | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: "adopt" | ||
java-version: "11" | ||
|
||
- uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa # [email protected] | ||
with: | ||
channel: ${{ matrix.sdk }} | ||
- uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa # [email protected] | ||
with: | ||
channel: ${{ matrix.sdk }} | ||
|
||
- name: flutter upgrade | ||
run: flutter upgrade | ||
- name: flutter upgrade | ||
run: flutter upgrade | ||
|
||
- name: flutter pub get | ||
run: flutter pub get | ||
- name: flutter pub get | ||
run: flutter pub get | ||
|
||
- name: Gradle cache | ||
uses: gradle/gradle-build-action@v2 | ||
|
@@ -58,18 +60,18 @@ jobs: | |
~/.android/adb* | ||
key: avd-21 | ||
- name: create AVD and generate snapshot for caching | ||
if: steps.avd-cache.outputs.cache-hit != 'true' | ||
uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b #[email protected] | ||
with: | ||
working-directory: ./flutter/example | ||
api-level: 21 | ||
force-avd-creation: false | ||
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none | ||
disable-animations: false | ||
arch: x86_64 | ||
profile: Nexus 6 | ||
script: echo "Generated AVD snapshot for caching." | ||
- name: create AVD and generate snapshot for caching | ||
if: steps.avd-cache.outputs.cache-hit != 'true' | ||
uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b #[email protected] | ||
with: | ||
working-directory: ./flutter/example | ||
api-level: 21 | ||
force-avd-creation: false | ||
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none | ||
disable-animations: false | ||
arch: x86_64 | ||
profile: Nexus 6 | ||
script: echo 'Generated AVD snapshot for caching.' | ||
|
||
- name: launch android emulator & run android integration test | ||
uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b #[email protected] | ||
|
@@ -93,7 +95,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
# 'beta' is flaky because of https://github.com/flutter/flutter/issues/124340 | ||
sdk: ['stable'] | ||
sdk: ["stable"] | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters