Skip to content

Commit

Permalink
Add gemfile
Browse files Browse the repository at this point in the history
  • Loading branch information
radeknovis committed Dec 19, 2023
1 parent a0004cf commit c14378f
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,22 @@ jobs:
shell: bash
run: make relay_tests RELAY_HOST=relay.walletconnect.com PROJECT_ID=${{ secrets.PROJECT_ID }}

- name: Danger
uses: danger/danger
- name: ruby versions
run: |
ruby --version
gem --version
bundler --version
- name: ruby setup
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true

- name: danger
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: bundle exec danger --verbose

- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
Expand Down
7 changes: 7 additions & 0 deletions Dangerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ warn("PR is classed as Work in Progress") if github.pr_title.include? "[WIP]"
warn("Big PR") if git.lines_of_code > 500

failure("Please provide a summary in the Pull Request description") if vsts.pr_body.length < 5

# xcov.report(
# scheme: 'EasyPeasy',
# workspace: 'Example/EasyPeasy.xcworkspace',
# exclude_targets: 'Demo.app',
# minimum_coverage_percentage: 90
# )
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# frozen_string_literal: true

source "https://rubygems.org"

gem "danger"

0 comments on commit c14378f

Please sign in to comment.