Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor runner.jl #58

Merged
merged 1 commit into from
Dec 31, 2020
Merged

Refactor runner.jl #58

merged 1 commit into from
Dec 31, 2020

Conversation

mmiller-max
Copy link
Member

@mmiller-max mmiller-max commented Dec 30, 2020

  • Move imports to top
  • Make test! a bit smaller by splitting some functionality into functions
  • Reorder functions
  • Add docstrings

Part of #48

@mmiller-max mmiller-max mentioned this pull request Dec 30, 2020
17 tasks
@codecov-io
Copy link

codecov-io commented Dec 30, 2020

Codecov Report

Merging #58 (76cf771) into master (3fe754c) will increase coverage by 0.31%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master       #58      +/-   ##
===========================================
+ Coverage   99.68%   100.00%   +0.31%     
===========================================
  Files           5         5              
  Lines         319       322       +3     
===========================================
+ Hits          318       322       +4     
+ Misses          1         0       -1     
Impacted Files Coverage Δ
src/runner.jl 100.00% <100.00%> (+0.97%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3fe754c...76cf771. Read the comment docs.

src/runner.jl Outdated
julia_args::Union{Cmd, AbstractVector{<:AbstractString}}=``,
test_args::Union{Cmd, AbstractVector{<:AbstractString}}=``)

Tests `pkg` and save report to `logfilename`. Unit tests are run in the same way
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Tests `pkg` and save report to `logfilename`. Unit tests are run in the same way
Tests `pkg` and save report to `logfilename`. Tests are run in the same way

They might be unit tests they might not..doesn't matter to us

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, think I've said unit elsewhere too so will go and check

@mmiller-max mmiller-max merged commit cc14681 into master Dec 31, 2020
@mmiller-max mmiller-max deleted the mm/tidy-runner branch December 31, 2020 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants