Skip to content

Commit

Permalink
tests on
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed May 19, 2024
1 parent 710d0e7 commit 833d4ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions judges/catch/catch_closed_issue/catch_closed_issue.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
n = follow(fbt, f1, %w[repository issue])
n.what = 'issue-was-closed'
n.who = f2.who
# how long it was alive? let's add the data
n.details =
"In the repository ##{n.repository}, the issue ##{n.issue}" \
"was closed by ##{n.who}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
fb.txn do |fbt|
n = follow(fbt, f, %w[repository issue who])
n.what = 'reward-for-closed-issue'
# let's add extra points if it was done fast and decrease points if too slow
n.award = 5
n.reason =
"@#{n.who} thanks for closing this issue! " \
Expand Down
2 changes: 1 addition & 1 deletion test/test_each_repo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def test_simple_use
end

def test_live_usage
return
skip('Run it only manually, since it touches GitHub API')
$global = {}
$loog = Loog::NULL
$options = Judges::Options.new(
Expand Down

0 comments on commit 833d4ad

Please sign in to comment.