Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

fix: remove codecov to release #1575

Merged
merged 2 commits into from
May 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
GIT
remote: https://github.com/uziasferreirazup/fastlane-plugin-codecov_reporter
revision: 6a17f8f74565505c9bb970002d868a1472f424e6
specs:
fastlane-plugin-codecov_reporter (0.1.2)

GEM
remote: https://rubygems.org/
specs:
Expand Down Expand Up @@ -342,7 +336,6 @@ DEPENDENCIES
danger-junit
danger-swiftlint
fastlane
fastlane-plugin-codecov_reporter!
fastlane-plugin-semantic_release
xcode-install

Expand Down
12 changes: 0 additions & 12 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ platform :flutter do
desc "Pull Request verification"
lane :pull_request_verification do
sh "cd #{ENV['PWD']} && fastlane/flutter/tests.sh"
run_codecov(platform: 'flutter')
sh "cd #{ENV['PWD']}/flutter && flutter analyze > flutter_analyze_report.txt || true"
end

Expand All @@ -50,7 +49,6 @@ platform :android do
gradle(project_dir: "android", task: "clean detekt lintDebug test jacocoTestReport")
gradle(project_dir: "android", task: "sample:assembleDebug sample:assembleDebugAndroidTest")
gradle(project_dir: "android", task: "automatedTest:assembleDebug automatedTest:assembleDebugAndroidTest")
run_codecov(platform: 'android')
end

desc "Deploy current code to stage"
Expand Down Expand Up @@ -79,7 +77,6 @@ platform :ios do
scheme: "All",
device: "iPhone 11"
)
run_codecov(platform: 'ios')
check_if_beagle_works_via_cocoapods_integration
check_if_beagle_works_via_spm_integration
end
Expand Down Expand Up @@ -200,7 +197,6 @@ platform :backend do
lane :pull_request_verification do
gradle(project_dir: "backend", task: "detekt")
gradle(project_dir: "backend", tasks:["clean", "assemble", "jacocoTestReport"])
run_codecov(platform: 'backend')
end

desc "Sync Spring BFF sample to Micronaut BFF sample"
Expand Down Expand Up @@ -280,14 +276,6 @@ private_lane :release_notes do |params|
\n#{changelog}"
end

private_lane :run_codecov do |options|
codecov = ENV["CODECOV_TOKEN"]
if !(codecov.nil? || codecov.empty?)
commit_hash = last_git_commit[:commit_hash]
codecov_reporter(token: codecov, flags: "-F #{options[:platform]} -C #{commit_hash}")
end
end

private_lane :danger_token_available? do
danger = ENV["GITHUB_TOKEN"]
!(danger.nil? || danger.empty?)
Expand Down
1 change: 0 additions & 1 deletion fastlane/Pluginfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
#
# Ensure this file is checked in to source control!

gem "fastlane-plugin-codecov_reporter", git: "https://github.com/uziasferreirazup/fastlane-plugin-codecov_reporter"
gem 'fastlane-plugin-semantic_release'