Skip to content

Commit

Permalink
ci: add Danger integration (SDKCF-4739)
Browse files Browse the repository at this point in the history
ci: add Danger integration (SDKCF-4739)
  • Loading branch information
maureenorea-clores authored Jan 20, 2022
1 parent c0738be commit 0a64b7b
Show file tree
Hide file tree
Showing 3 changed files with 106 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dangerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Warn when there is a big PR
warn("Big PR") if git.lines_of_code > 1000

# Code coverage
jacoco.minimum_project_coverage_percentage = 80
jacoco.report("inappmessaging/build/reports/jacoco/jacocoReleaseReport/jacocoReleaseReport.xml", fail_no_coverage_data_found: false)
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source "https://rubygems.org"

gem "danger"
gem "danger-jacoco"
96 changes: 96 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
claide (1.1.0)
claide-plugins (0.9.2)
cork
nap
open4 (~> 1.3)
colored2 (3.1.2)
cork (0.3.0)
colored2 (~> 3.1)
danger (8.4.2)
claide (~> 1.0)
claide-plugins (>= 0.9.2)
colored2 (~> 3.1)
cork (~> 0.1)
faraday (>= 0.9.0, < 2.0)
faraday-http-cache (~> 2.0)
git (~> 1.7)
kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.0)
no_proxy_fix
octokit (~> 4.7)
terminal-table (>= 1, < 4)
danger-jacoco (0.1.8)
danger-plugin-api (~> 1.0)
nokogiri-happymapper (~> 0.6)
danger-plugin-api (1.0.0)
danger (> 2.0)
faraday (1.9.3)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
faraday-httpclient (~> 1.0)
faraday-multipart (~> 1.0)
faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.0)
faraday-patron (~> 1.0)
faraday-rack (~> 1.0)
faraday-retry (~> 1.0)
ruby2_keywords (>= 0.0.4)
faraday-em_http (1.0.0)
faraday-em_synchrony (1.0.0)
faraday-excon (1.1.0)
faraday-http-cache (2.2.0)
faraday (>= 0.8)
faraday-httpclient (1.0.1)
faraday-multipart (1.0.3)
multipart-post (>= 1.2, < 3)
faraday-net_http (1.0.1)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
faraday-rack (1.0.0)
faraday-retry (1.0.3)
git (1.10.2)
rchardet (~> 1.8)
kramdown (2.3.1)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
mini_portile2 (2.7.1)
multipart-post (2.1.1)
nap (1.1.0)
no_proxy_fix (0.1.2)
nokogiri (1.13.0)
mini_portile2 (~> 2.7.0)
racc (~> 1.4)
nokogiri-happymapper (0.8.1)
nokogiri (~> 1.5)
octokit (4.22.0)
faraday (>= 0.9)
sawyer (~> 0.8.0, >= 0.5.3)
open4 (1.3.4)
public_suffix (4.0.6)
racc (1.6.0)
rchardet (1.8.0)
rexml (3.2.5)
ruby2_keywords (0.0.5)
sawyer (0.8.2)
addressable (>= 2.3.5)
faraday (> 0.8, < 2.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.1.0)

PLATFORMS
ruby

DEPENDENCIES
danger
danger-jacoco

BUNDLED WITH
1.17.2

0 comments on commit 0a64b7b

Please sign in to comment.