chore(deps): update dependency com.android.tools.build:gradle to v8.7.0 #265
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
name: Stevia Integration Tests | |
on: | |
push: | |
paths: | |
- .github/workflows/stevia_integration_test.yaml | |
- stevia/android/** | |
- stevia/example/** | |
- stevia/ios/** | |
- stevia/lib/** | |
- stevia/test/** | |
- stevia/tool/** | |
- stevia/analysis_options.yaml | |
- stevia/dartdoc_options.yaml | |
- stevia/pubspec.yaml | |
pull_request: | |
paths: | |
- .github/workflows/stevia_integration_test.yaml | |
- stevia/android/** | |
- stevia/example/** | |
- stevia/ios/** | |
- stevia/lib/** | |
- stevia/test/** | |
- stevia/tool/** | |
- stevia/analysis_options.yaml | |
- stevia/dartdoc_options.yaml | |
- stevia/pubspec.yaml | |
jobs: | |
android: | |
name: Android integration tests | |
runs-on: macos-latest | |
defaults: | |
run: | |
working-directory: stevia/example | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- name: Enable KVM | |
run: | | |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules | |
sudo udevadm control --reload-rules | |
sudo udevadm trigger --name-match=kvm | |
- uses: subosito/[email protected] | |
- run: flutter pub get | |
- run: flutter build appbundle --debug | |
- uses: reactivecircus/android-emulator-runner@v2 | |
with: | |
api-level: 29 | |
arch: x86_64 | |
profile: Nexus 6 | |
working-directory: stevia/example | |
script: flutter test integration_test | |
ios: | |
name: iOS integration tests | |
runs-on: macos-latest | |
defaults: | |
run: | |
working-directory: stevia/example | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/[email protected] | |
- uses: actions/checkout@v4 | |
- uses: futureware-tech/simulator-action@v3 | |
with: | |
model: 'iPhone 14' | |
- run: flutter pub get | |
- run: flutter build ios --debug --no-codesign | |
- run: flutter test integration_test |