Ned Batchelder
d2b1d535db
Add help to the template linter
2016-03-17 15:24:53 -04:00
Robert Raposa
eb42cb1f38
Add safe template linter
...
- Initial lint of Mako templates
- Initial lint of Underscore.js templates
2016-03-12 21:12:06 -05:00
Kevin Falcone
b4ac588ce1
Update reset-test-db.sh for bok-choy
...
This now correctly migrates and dumps files for both databases.
Run lettuce migrations for both databases
2016-02-29 13:59:29 -05:00
Calen Pennington
dd90c55602
Create a new CSMHExtended table to hold our new data
...
This is a clone (copy) of CSMH's declaration and methods with an added
id of UnsignedBigInAutoField
We should be able to delete the save_history code, but needs testing.
Add error logging when capa failures happen
Put StudentModuleHistory into its own database
Bump out the primary key on CSMHE
This gives us a gap to backfill as needed.
Since the new table's pk is an unsigned bigint, even for people who don't
consolidate CSMH into CSMHE, the lost rows are unlikely to matter.
Remove StudentModuleHistory cleaner
2016-02-29 13:58:39 -05:00
Kevin Falcone
3a296a9183
Don't delete the whole db cache dir
...
It also contains the lettuce caches.
2016-02-18 22:43:47 -05:00
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