Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Re-enable codecov#364

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
willkg merged 3 commits intohtml5lib:masterfromjayvdb:codecov
Nov 29, 2017
Merged

Re-enable codecov#364

willkg merged 3 commits intohtml5lib:masterfromjayvdb:codecov
Nov 29, 2017

Conversation

jayvdb
Copy link
Contributor

This also removes dependence on./requirements-install.sh andflake8-run.sh

@jayvdb
Copy link
ContributorAuthor

(Once CI finishes; I'll rebase to pull in the other CI patch)

@codecov-io
Copy link

codecov-io commentedNov 23, 2017
edited
Loading

Codecov Report

❗ No coverage uploaded for pull request base (master@32713a5).Click here to learn what that means.
The diff coverage isn/a.

Impacted file tree graph

@@            Coverage Diff            @@##             master     #364   +/-   ##=========================================  Coverage          ?   90.78%           =========================================  Files             ?       50             Lines             ?     6927             Branches          ?     1322           =========================================  Hits              ?     6289             Misses            ?      482             Partials          ?      156

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last update32713a5...e17cf26. Read thecomment docs.

@jayvdbjayvdb changed the titleRe-enable codecovWIP: Re-enable codecovNov 23, 2017
@jayvdb
Copy link
ContributorAuthor

#365 should be merged first, as that makes this one a bit easier.

@willkg
Copy link
Contributor

I'll take a look at this tomorrow. Thank you!

optional: -r{toxinidir}/requirements-optional.txt
-r{toxinidir}/requirements-test.txt
doc: Sphinx
Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like when this ran the tests withsix==1.9, it'd also run the tests with the optional requirements. I'm pretty sure your changes don't do that--six19 is a separate environment fromoptional.

I don't know offhand if that'simportant, but it seems like if we want to maintain parity, it'd be better to add a line here like:

six19: -r{toxinidir}/requirements-optional.txt

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Sorry, yes I missed that. It would be better to achieve that by usingTOXENV=six19-optional .

commands =
{envbindir}/py.test {posargs}
six19: pip install six==1.9
{env:PYTEST_COMMAND:{envbindir}/py.test} {posargs}
flake8 {toxinidir}
Copy link
Contributor

Choose a reason for hiding this comment

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

In other projects I work on, I run flake8 as a separate environment because there isn't much reason to run it multiple times. Having said that, it seems like it only takes a few seconds on html5lib-python, so seems like it'd not a big deal here.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

flake8 could be moved out to a separate factor easily, and even a different testenv.

It is important to run flake8 on each version of python, as pyflakes is version dependent.

The benefit of keeping it in here is that devs dont need to remember to do it, and they typically only test on one environment. For CI, the running time is inconsequential compared to the rest of the very voluminous tests ;-)

Copy link
Contributor

Choose a reason for hiding this comment

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

+1 to everything you say here. Don't change what you have.

@willkg
Copy link
Contributor

@jayvdb Are you still working on this or are you done?

@jayvdb
Copy link
ContributorAuthor

You've found one thing that needs fixing, and I'm happy to change the flake8 invocation also.

@jayvdbjayvdb changed the titleWIP: Re-enable codecovRe-enable codecovNov 29, 2017
The use of `coverage combine` without multiple setsof data has been resulting in a warning `No data to combine`and the data not being submitted.
Coverage of PyPy was disabled however it workswithout trouble, albeit a little slow.To allow tox to run tests under coverage,and with arguments passed to coverage,PYTEST_COMMAND can now be used to overridethe default command used to run the tests.Due to pips inability to deal with multiplerequirements for the same package, six==1.9 isforcably installed after the tox environmenthas been setup.
@willkg
Copy link
Contributor

@jayvdb Can you pin pytest to version 2.2.5? I think that'll make this PR work better in CI and I'll just drop PR#372.

@jayvdb
Copy link
ContributorAuthor

2.2.5 , or 3.2.5?

@willkg
Copy link
Contributor

Bleh. I'm having typing problems today. I meant 3.2.5. Thanks!

@jayvdb
Copy link
ContributorAuthor

I have cherry-picked your commit; I hope that is OK.

@willkg
Copy link
Contributor

You rock--thank you!

Copy link
Contributor

@willkgwillkg left a comment

Choose a reason for hiding this comment

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

This looks super! Thank you so much!

@willkgwillkg merged commit1b515f5 intohtml5lib:masterNov 29, 2017
@hugovkhugovk mentioned this pull requestFeb 26, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@willkgwillkgwillkg approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
1.0
Development

Successfully merging this pull request may close these issues.

3 participants
@jayvdb@codecov-io@willkg

[8]ページ先頭

©2009-2025 Movatter.jp