-
Notifications
You must be signed in to change notification settings - Fork 10
Enable test run on mercurial and subversion #42
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,7 +19,6 @@ | |
| os.path.dirname(os.path.dirname(__file__)), 'test_workspace' | ||
| ) | ||
|
|
||
| CI = os.environ.get('CI') == 'true' # Travis CI / Github actions set: CI=true | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should be ok to drop since the only usage here is to skip the hg and svn test from running on CI environments.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I feel there is some merit in having the Mercurial and Subversion tests run on the CI. |
||
| svn = which('svn') | ||
| hg = which('hg') | ||
| if svn: | ||
|
|
@@ -342,7 +341,6 @@ def test_validate(self): | |
| expected = get_expected_output('validate_bad') | ||
| self.assertEqual(output, expected) | ||
|
|
||
| @unittest.skipIf(CI, 'Cannot run on CI') | ||
| @unittest.skipIf(not svn, '`svn` was not found') | ||
| @unittest.skipIf(not hg, '`hg` was not found') | ||
| def test_validate_svn_and_hg(self): | ||
|
|
||
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.
For better understanding here could you explain were you are fetching this version number from?
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.
The subversion repository link has the version mentioned as the
revisiontag.