mirror of
https://github.com/hmalik144/Weather-apps.git
synced 2025-12-10 02:05:20 +00:00
Readme and screenshot (#35)
- atlas weather notification fix (only for lower versions) - Minor lint fixes - Upgrade gradle dependencies to versions accepted by android 33 - upgrade android gradle to 8.5 - upgrade application to android 34 - upgraded all library dependencies - readme.md added - Snapshot tests added for readme.md - UI corrections during snapshots
This commit is contained in:
@@ -42,4 +42,48 @@ platform :android do
|
||||
json_key: "google-play-key.json",
|
||||
package_name: "com.appttude.h_mal.atlas_weather")
|
||||
end
|
||||
|
||||
desc "Capture screenshots on MonoWeather"
|
||||
lane :screenGrabMonoWeather do
|
||||
build_android_app(
|
||||
task: 'assemble',
|
||||
build_type: 'Debug',
|
||||
flavor: 'MonoWeather',
|
||||
)
|
||||
build_android_app(
|
||||
task: 'assemble',
|
||||
build_type: 'AndroidTest',
|
||||
flavor: 'MonoWeather',
|
||||
)
|
||||
screengrab(
|
||||
app_package_name: "com.appttude.h_mal.monoWeather",
|
||||
locales: ["en-UK"],
|
||||
app_apk_path: "app/build/outputs/apk/monoWeather/debug/app-monoWeather-debug.apk",
|
||||
tests_apk_path: "app/build/outputs/apk/androidTest/monoWeather/debug/app-monoWeather-debug-androidTest.apk",
|
||||
test_instrumentation_runner: "com.appttude.h_mal.atlas_weather.application.TestRunner",
|
||||
use_tests_in_packages: "com.appttude.h_mal.atlas_weather.snapshot"
|
||||
)
|
||||
end
|
||||
|
||||
desc "Capture screenshots on AtlasWeather"
|
||||
lane :screenGrabAtlasWeather do
|
||||
build_android_app(
|
||||
task: 'assemble',
|
||||
build_type: 'Debug',
|
||||
flavor: 'AtlasWeather',
|
||||
)
|
||||
build_android_app(
|
||||
task: 'assemble',
|
||||
build_type: 'AndroidTest',
|
||||
flavor: 'AtlasWeather',
|
||||
)
|
||||
screengrab(
|
||||
app_package_name: "com.appttude.h_mal.atlas_weather",
|
||||
locales: ["en-UK"],
|
||||
app_apk_path: "app/build/outputs/apk/atlasWeather/debug/app-atlasWeather-debug.apk",
|
||||
tests_apk_path: "app/build/outputs/apk/androidTest/atlasWeather/debug/app-atlasWeather-debug-androidTest.apk",
|
||||
test_instrumentation_runner: "com.appttude.h_mal.atlas_weather.application.TestRunner",
|
||||
use_tests_in_packages: "com.appttude.h_mal.atlas_weather.snapshot"
|
||||
)
|
||||
end
|
||||
end
|
||||
56
fastlane/README.md
Normal file
56
fastlane/README.md
Normal file
@@ -0,0 +1,56 @@
|
||||
fastlane documentation
|
||||
----
|
||||
|
||||
# Installation
|
||||
|
||||
Make sure you have the latest version of the Xcode command line tools installed:
|
||||
|
||||
```sh
|
||||
xcode-select --install
|
||||
```
|
||||
|
||||
For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane)
|
||||
|
||||
# Available Actions
|
||||
|
||||
## Android
|
||||
|
||||
### android deployMonoWeather
|
||||
|
||||
```sh
|
||||
[bundle exec] fastlane android deployMonoWeather
|
||||
```
|
||||
|
||||
Deploy a new Mono Weather version to the Google Play
|
||||
|
||||
### android deployAtlasWeather
|
||||
|
||||
```sh
|
||||
[bundle exec] fastlane android deployAtlasWeather
|
||||
```
|
||||
|
||||
Deploy a new Atlas Weather version to the Google Play
|
||||
|
||||
### android screenGrabMonoWeather
|
||||
|
||||
```sh
|
||||
[bundle exec] fastlane android screenGrabMonoWeather
|
||||
```
|
||||
|
||||
Capture screenshots on MonoWeather
|
||||
|
||||
### android screenGrabAtlasWeather
|
||||
|
||||
```sh
|
||||
[bundle exec] fastlane android screenGrabAtlasWeather
|
||||
```
|
||||
|
||||
Capture screenshots on AtlasWeather
|
||||
|
||||
----
|
||||
|
||||
This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run.
|
||||
|
||||
More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools).
|
||||
|
||||
The documentation of _fastlane_ can be found on [docs.fastlane.tools](https://docs.fastlane.tools).
|
||||
Reference in New Issue
Block a user