-
Notifications
You must be signed in to change notification settings - Fork 38
Fixes test with log file and adds skip option #75
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
Conversation
|
… be a seperate PR
@svenkreiss Would you be open to switching to GitHub Actions for the CI? I have been messing around with it a bit and if switching there is a lot more tests that can be run such as different os and java versions. Here is an example of what it would look like: https://github.com/Cyb3r-Jak3/html5validator/actions/runs/285811420. |
- Adds the ability to skip specific files. - Adds tests for skip - Moves tests to a separate directory to decrease download size.
@svenkreiss I added a new option Was not sure if you want a separate PR for it. |
Is there any plan to merge this? |
Thanks @Cyb3r-Jak3 for the PR and @khusika for the reminder. The moved tests are a blocker for me. I want to be able to run these tests without the full source tree. I am also against a new command line argument but it does make a lot of sense to extend |
@svenkreiss You are definitely going to want squash merge this as the config tests don't work on Windows due to the path. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing those.
The diff is still huge and it is not clear to me why. Can you revert so that the diff becomes readable?
I have added some further requests to revert changes that I think were from your previous changes and are now unnecessary. Maybe I am wrong about some of them, so please reply with a short comment why those are necessary now. Thanks!
@@ -18,14 +18,13 @@ | |||
setup( | |||
name='html5validator', | |||
version=__version__, | |||
packages=['html5validator', 'html5validator.tests', 'vnujar'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert
license='MIT', | ||
description='Validate HTML5 files.', | ||
long_description=open('README.rst').read(), | ||
author='Sven Kreiss', | ||
author_email='me@svenkreiss.com', | ||
url='https://github.com/svenkreiss/html5validator', | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert
|
||
if skip_invisible: | ||
# filter out directory names starting with '.' | ||
invisible_dirs = [d for d in dirnames if d[0] == '.'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert
@@ -1,173 +1,187 @@ | |||
# -*- coding: utf-8 -*- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this entire file different?
Same for all the files in tests/config_files
?
@@ -1,3 +1,2 @@ | |||
include README.rst LICENSE vnujar/vnu.jar | |||
recursive-include tests * | |||
recursive-exclude tests *.pyc .DS_Store | |||
prune html5validator/tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
Looking through everything, I agree this got incredibly messy. I am going to close out this PR and start fresh. |
Biggest Changes