Skip to content

Commit

Permalink
fix test apps
Browse files Browse the repository at this point in the history
  • Loading branch information
flolom committed Dec 1, 2023
1 parent af0d14d commit c2f165c
Show file tree
Hide file tree
Showing 44 changed files with 21 additions and 1,064 deletions.
8 changes: 0 additions & 8 deletions .ci/images_matrix.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
{
"android_api": [
{
"api": 28,
"build_tools": "28.0.3"
},
{
"api": 29,
"build_tools": "29.0.3"
},
{
"api": 30,
"build_tools": "30.0.3"
Expand Down
23 changes: 7 additions & 16 deletions tests/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ export BUILD_TOOLS_VERSION="$android_build_tools"
export MIN_SDK_VERSION=21
export TARGET_SDK_VERSION="$android_api"
export NDK_VERSION="21.0.6113669"
jenv global 17

setup_gradle_version() {
if grep -q "distributionUrl" ./gradle/wrapper/gradle-wrapper.properties; then
Expand All @@ -88,6 +87,7 @@ exec_test() {
ruby -v
eval "$(jenv init -)"

jenv global 17
if [ "$android_ndk" = true ]; then
echo "Running tests with ndk"
exec_test "$script_path"/test-app-ndk
Expand All @@ -97,22 +97,13 @@ else
fi

if [ "$large_test" = true ]; then
echo "Run android tests on Firebase Test Lab"
cd "$script_path"/test-firebase-test-lab

setup_gradle_version

bundle install
bundle exec fastlane android integrated_test
fi

if (( "$android_api" < 31 )); then
export GRADLE_VERSION="5.6.4"
export ANDROID_GRADLE_TOOLS_VERSION="3.6.1"
jenv global 1.8
exec_test "$script_path"/test-app-jdk-8
echo "Run android tests on Firebase Test Lab"
cd "$script_path"/test-firebase-test-lab

jenv global 17
fi
setup_gradle_version

bundle install
bundle exec fastlane android integrated_test
fi
exit 0
9 changes: 0 additions & 9 deletions tests/test-app-jdk-8/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion tests/test-app-jdk-8/.ruby-version

This file was deleted.

6 changes: 0 additions & 6 deletions tests/test-app-jdk-8/Gemfile

This file was deleted.

228 changes: 0 additions & 228 deletions tests/test-app-jdk-8/Gemfile.lock

This file was deleted.

1 change: 0 additions & 1 deletion tests/test-app-jdk-8/app/.gitignore

This file was deleted.

40 changes: 0 additions & 40 deletions tests/test-app-jdk-8/app/build.gradle

This file was deleted.

21 changes: 0 additions & 21 deletions tests/test-app-jdk-8/app/proguard-rules.pro

This file was deleted.

This file was deleted.

Loading

0 comments on commit c2f165c

Please sign in to comment.