Commit Graph

288 Commits

Author SHA1 Message Date
Ben Patterson
f1b366589b Remove ruby dependencies.
Sass compilation is no longer dependent on Ruby, so we are
removing its dependencies.
2016-02-08 17:02:55 -05:00
Jesse Zoldak
855d410159 Update the Python version
Other small changes:
* output the list of installed python packages
* tee the pylint output to the console so the build doesn't timeout when computing violations
2016-02-05 10:15:43 -05:00
Ned Batchelder
367a90bb95 Automatically find a better email for a committer than x@users.noreply.github.com 2016-02-01 07:39:00 -05:00
Ben Patterson
31841bdcbb Merge pull request #11271 from edx/benp/9-bokchoy-shards
Benp/9 bokchoy shards
2016-01-20 12:09:53 -05:00
Ben Patterson
d0f6aee339 Update script for 9 shards. 2016-01-19 17:20:21 -05:00
Ben Patterson
15b015abdc Only update comments; leave reset_db in place. 2016-01-14 06:23:08 -05:00
Ben Patterson
d4554fb14d TE-1133 Fix to allow for serversonly /testsonly and full test modes.
This will ensure a clean database for new runs, and will likewise
allow for the serversonly / testsonly approach for developing
bok-choy acceptance tests. The cleaner model will completely
rebuild the edxtest database for any new test run. This will
not be a costly maneuver because of our test cache.
2016-01-13 17:37:59 -05:00
Jesse Zoldak
a675081275 Add comments to the bok-choy DB reset script 2016-01-12 16:59:01 -05:00
Jesse Zoldak
157bd19e20 Clear out the bok choy DB with reset_db, not flush 2016-01-12 11:33:02 -05:00
Ben Patterson
99b029969c Merge pull request #11097 from edx/ziafazal/SOL-1560
ziafazal/SOL-1560:load db_fixures when run with --testsonly
2016-01-04 09:00:38 -05:00
Zia Fazal
2f275f31b4 fixed scenario when tests run using cached sql schema 2015-12-31 20:03:28 +05:00
Christine Lytwynec
0c5cd86c5d remove cut-branch option from release.py 2015-12-28 14:43:15 -05:00
Christine Lytwynec
590e0481ac Merge pull request #11052 from edx/clytwynec/a11y-tests
Fix exit status of A11y tests
2015-12-22 11:47:31 -05:00
Christine Lytwynec
51766a73d8 Fix exit status of A11y tests 2015-12-22 10:02:30 -05:00
Ned Batchelder
756941524c Update to latest edx-lint 2015-12-18 20:56:07 -05:00
Sarina Canelake
96ddf544ff Remove Pylint violations 2015-12-17 16:29:28 -05:00
Ned Batchelder
0632240331 Pylint count is below 5000 2015-12-14 09:18:29 -05:00
Sarina Canelake
edf6730ca0 Pylint fixes to symmath module 2015-12-08 22:56:28 -05:00
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