Skip to content

Commit

Permalink
Merge pull request #263 from MoromugHSE/repo-descriptions
Browse files Browse the repository at this point in the history
Started collecting repo descriptions (Issue #246)
  • Loading branch information
yegor256 committed Apr 2, 2024
2 parents 61d4bcd + 9b34698 commit d334bde
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion steps/discover-repos.rb
Expand Up @@ -87,7 +87,8 @@
forks: i[:forks_count],
created_at: i[:created_at].iso8601,
size: i[:size],
open_issues_count: i[:open_issues_count]
open_issues_count: i[:open_issues_count],
description: i[:description]
}
puts "Found #{i[:full_name].inspect} GitHub repo ##{found.count} \
(#{i[:forks_count]} forks, #{i[:stargazers_count]} stars)"
Expand Down
2 changes: 2 additions & 0 deletions tests/steps/test-discover-repos.sh
Expand Up @@ -37,6 +37,7 @@ tex=${TARGET}/foo.tex
test -e "${csv}"
test -s "${tex}"
test "$(wc -l < "${csv}" | xargs)" = '4'
test "$(head -1 "${csv}" | tr "," "\n" | wc -l | xargs)" = '8'
} > "${stdout}" 2>&1
echo "👍🏻 Small repositories discovery test is succeed"

Expand All @@ -49,5 +50,6 @@ echo "👍🏻 Small repositories discovery test is succeed"
test -e "${csv}"
test -s "${tex}"
test "$(wc -l < "${csv}" | xargs)" = '36'
test "$(head -1 "${csv}" | tr "," "\n" | wc -l | xargs)" = '8'
} > "${stdout}" 2>&1
echo "👍🏻 Medium repositories discovery test is succeed"

0 comments on commit d334bde

Please sign in to comment.