Commit Graph

270 Commits

Author SHA1 Message Date
David Baumgold
e48e250b1b Merge pull request #10712 from edx/github-capital-h
GitHub has a capital H
2015-11-24 09:26:55 -05:00
Ned Batchelder
0872732cf0 Fix pylint C7630 (literal used as attribute) violations
There's no need to use a string literal in setattr, delattr, or the
two-argument form of getattr.
2015-11-23 15:32:54 -05:00
David Baumgold
2e71a66daa GitHub has a capital H 2015-11-23 15:06:33 -05:00
Ben Patterson
72fbcdc606 Merge pull request #10687 from edx/benp/fix-edxtest-djan18
edxtest needs to be created on naked systems.
2015-11-20 08:31:36 -05:00
Ben Patterson
c475f2830e edxtest needs to be created on naked systems.
This is a partial revert from d8fd8ed678
2015-11-19 17:39:41 -05:00
clrux
7f4dd4dbf5 Merge pull request #10679 from edx/clrux/add-gettext-to-global-jshint-ignore
Adding gettext to JSHint ignore
2015-11-19 15:45:48 -05:00
Chris Rodriguez
d1efc3fed1 Updating JSHint threshold 2015-11-19 14:58:05 -05:00
Usman Khalid
bc22f592c6 Merge pull request #10664 from edx/usman/regenerate-db-cache
Recreate db caches for bokchoy and lettuce
2015-11-19 19:20:21 +05:00
Usman Khalid
d8fd8ed678 Recreate db caches for bokchoy and lettuce 2015-11-18 21:08:05 +05:00
muhammad-ammar
8d5f153201 Merge remote-tracking branch 'origin/release' into dj18-release-merge
Conflicts:
	common/djangoapps/util/testing.py
	lms/djangoapps/instructor/views/api.py
	lms/djangoapps/teams/tests/test_views.py
	openedx/core/djangoapps/programs/models.py
	openedx/core/djangoapps/user_api/accounts/tests/test_views.py
	requirements/edx/github.txt
2015-11-18 17:53:44 +05:00
Christine Lytwynec
9aa1f2b73f use .jshintignore instead of hardcoded directory list 2015-11-13 16:19:02 -05:00
Usman Khalid
6cb62f2697 Rebase upgrade Django to v1.8.5
Please note that this is a squshed commit and the work of:
Symbolist, macdiesel, nedbat, doctoryes, muzaffaryousaf and muhammad-ammar
2015-11-10 15:00:19 -05:00
Ned Batchelder
58e0633eae This script is now in github.com/nedbat/xunit_tools 2015-11-09 06:11:42 -05:00
Christine Lytwynec
468864a314 add paver test_a11y and a11y_coverage commands 2015-11-05 13:55:35 -05:00
Ned Batchelder
68182b13d2 Merge pull request #10474 from edx/ned/django-pylint
Use 0.3.2 of edx-lint, with pylint-django and C extensions read
2015-11-04 06:16:01 -05:00
Ned Batchelder
1f093eccfb Use 0.3.2 of edx-lint, with pylint-django and C extensions read 2015-11-03 16:22:40 -05:00
Ben Patterson
7eb9cecb9b Ability to run bok-choy in multiprocess mode.
This includes:
* Ability to specify number of processes to run bok-choy tests in
* A forked nose commit to get the multiprocess plugin's logging to work
* A different plugin (xunitmp) must be used for pulling together xunit results

This works by:
* Starting the various servers that are needed for the acceptance test environment
* Running the tests themselves in multiprocess mode
2015-11-03 08:19:20 -05:00
Jesse Zoldak
f4df2ac1ca Increase the test output timeout and quiet the pylint output. 2015-10-30 10:47:25 -04:00
Ben Patterson
8833db6a56 Pylint results should be piped.
In the event of a pylint failure, we need to cat the log. This will also
ensure that the remaining scripts in the job can run.
2015-10-29 14:32:13 -04:00
Jesse Zoldak
0b8e6bc0e4 Adjust circleCI config for parallelism 2015-10-27 11:57:45 -04:00
Christine Lytwynec
b92d239e47 Merge pull request #10081 from edx/clytwynec/update-bokchoy-0.4.6
Clytwynec/update bokchoy 0.4.6
2015-10-08 15:45:22 -04:00
Bill DeRusha
565b67592e Add automatic release branch cutting to release script 2015-10-08 11:27:51 -04:00
Christine Lytwynec
ce42ba5655 move existing a11y tests to bokchoy test folder 2015-10-07 10:56:39 -04:00
Ben Patterson
df821f35ee Add node_modules to the path via the jenkins-common script instead of all-tests.
The jenkins-common script is the better place for this particular setup, since that
script is doing similar setup steps to prepare the environment for running
various tests/subsequent scripts. This also will resolve downstream processes,
such as our jenkins AMI builder (for jenkins-worker images).
2015-09-30 15:57:02 -04:00
Ned Batchelder
ca595deea5 A script to extract useful information from nosetests.xml files 2015-09-27 09:34:10 -04:00
Ben Patterson
23dfcf1bb3 TE-1042 include diff-cover for js.
Note that because js testing occurs on a different CI job than python
unit testing, files will not be clobbered by this change. The python unit
testing job also creates the same-named report through the diff_coverage
task.
2015-09-23 14:16:39 -04:00
Ned Batchelder
3c74219c3d Use coverage.py 4.0 final, and coveralls to match 2015-09-21 08:22:54 -04:00
Ben Patterson
c88b43b72d Pin coveralls to specific version.
The latest version is compatible with the new coverage.py.
2015-09-16 15:50:02 -04:00
David Baumgold
260038356c If cannot fetch people.yaml, entire script should fail 2015-09-14 12:57:31 -04:00
David Baumgold
1c4d160596 Fetch people.yaml file from private repo 2015-09-14 12:57:31 -04:00
David Baumgold
85a18e28e5 Use latest version of GitPython 2015-09-10 11:03:16 -04:00
Ned Batchelder
f47a53eb66 Update edx-lint to 0.2.6
This gets us checking for tests inheriting from other tests.  When that
happens, tests get run more than once, which is pointless.  We have a
few dozen new warnings due to this new check.

This also disables unused-wildcard-import.  That removes a few hundred
warnings.

Together, this means we can reduce the pylint limit to 5999. :)
2015-09-03 18:22:21 -04:00
Ben Patterson
91c1527189 Update circle-ci to run quality after jshint has been added to PATH.
[Also correct some comments.]
2015-08-31 11:08:56 -04:00
Ben Patterson
0683e5ff3f Add jshint diff-quality.
The platform includes jshint as a development tool, and our
builds are enforcing a limit on total number of jshint violations.
This commit will enforce no new jshint violations on a per-change
basis, much like pylint and pep8 are enforced. So with this change,
we'll be enforcing our linting requirements consistently, regardless
of type of violations.

Also on Jenkins, runs quality task after installing jshint.
2015-08-31 10:56:09 -04:00
Ned Batchelder
0219d97c88 Add a sentence to the release email about how to change where the email is sent. 2015-08-28 16:22:07 -04:00
Ned Batchelder
ff67dff633 Since the path import changes solved pylint issues, decrease the limit. 2015-08-27 13:39:14 -04:00
Ned Batchelder
2a0259095d Change imports from path to use the stablest name.
The old line:

    from path import path

produced pylint errors because of the baroque way that path.py defined
"path".  We tried to get them to change how they defined it, but they
deleted the name instead: https://github.com/jaraco/path.py/issues/102

(Jason then changed his mind, but this is a better way to use path.py,
it avoids the pylint error at least.)
2015-08-27 12:59:25 -04:00
Ned Batchelder
36a7d1223e Use latest edx-lint. Adds getattr/setattr string literal checking.
There are 80 of these new violations in the tree, so up the lint
threshold also.
2015-08-20 11:45:44 -04:00
Renzo Lucioni
03e6a12ede Fix release script typo 2015-08-15 14:31:41 -04:00
Jesse Zoldak
f8766891f0 No need to install prereqs twice on circleci.com 2015-08-06 13:09:06 -04:00
Ben Patterson
c4eed7bbc2 Merge pull request #9196 from edx/benp/bok-choy-shard-7
Benp/bok choy shard 7
2015-08-06 07:27:56 -04:00
Jesse Zoldak
4c9b66376a Merge pull request #9205 from edx/zoldak/script-cleanup-2
Clean up unused CI scripts
2015-08-05 15:21:33 -04:00
Ben Patterson
92c9c1d529 New bok-choy shard (#7). 2015-08-05 13:52:39 -04:00
Jesse Zoldak
8672455fda Get circleci configuration working for forks 2015-08-05 13:25:30 -04:00
Jesse Zoldak
7713bed48f Clean up unused CI scripts
Most of these were originally created under TE-465 for
aggregating results in Solano. See PR #5672.
2015-08-05 11:32:15 -04:00
Bertrand Marron
ba5da45141 Add circle configuration 2015-08-04 13:52:27 -04:00
Ned Batchelder
52acdae60c Update pylint and astroid, reduces pylint count by 400 2015-08-03 11:49:54 -04:00
Christine Lytwynec
bb3a281a2b generate diff-coverage report in JS jenkins build 2015-07-30 10:07:00 -04:00
Ben Patterson
c9cf8b6306 Post complexity metric to a file for downstream collection.
This complexity metric is created by using radon (see changed files for additional
documentation links). This tool calculates cyclomatic complexity and provides a numeric grade
where a lower number is better (e.g., less complex).
2015-07-23 15:36:36 -04:00
David Baumgold
444cddaaf6 Merge pull request #8820 from edx/db/release-notes-column-in-release-script
Add a column for release notes in the release.py table
2015-07-15 09:16:00 -04:00