Skip to content

Commit

Permalink
make github actions run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tonistark92 committed Mar 18, 2024
1 parent 283ac15 commit 83d4365
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 26 deletions.
27 changes: 2 additions & 25 deletions android/fastlane/Fastfile
Original file line number Diff line number Diff line change
@@ -1,33 +1,9 @@
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
# https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
# https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:android)

platform :android do
desc "Runs all the tests"
lane :test do
gradle(task: "test")
end

desc "Submit a new Beta Build to Crashlytics Beta"
lane :beta do
gradle(task: "clean assembleRelease")
crashlytics

# sh "your_script.sh"
# You can also use other beta testing services here
sh "flutter test ../../test"
end

desc "Deploy a new version to the Google Play"
Expand All @@ -38,6 +14,7 @@ platform :android do
desc "deploy to firebase"
lane :firebase_deploy do
sh "flutter clean"
test
sh "flutter build apk --release --flavor production --target lib/main_production.dart --no-tree-shake-icons"
release = firebase_app_distribution(
app: "1:307455058391:android:cf87da1992b043eaf76b92",
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: clinic
description: "A new Flutter project."
publish_to: 'none'
version: 0.1.0
version: 0.2.0

environment:
sdk: '>=3.2.6 <4.0.0'
Expand Down

0 comments on commit 83d4365

Please sign in to comment.