Commit Graph

245 Commits

Author SHA1 Message Date
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
Sarina Canelake
647bc967c0 Set new Pylint threshold 2015-07-13 17:33:28 -04:00
David Baumgold
f4cb0e8c45 Add a column for release notes in the release.py table 2015-07-13 13:29:13 -04:00
Régis Behmo
95ebf7f675 Upgrade distribute to the latest stable version of setuptools
'distribute' is the ancestor of 'setuptools', and many packages require
setuptools to be installed.

Upgrade of MySQL-python from 1.2.4 to 1.2.5 is required because of an
incompatibility with setuptools>0.7.
2015-07-09 13:04:33 -04:00
christopher lee
080450d5b2 Added more descripted release script message 2015-07-08 12:19:10 -04:00
Ned Batchelder
b7a90d6c7b Make the release script use the primary email from people.yaml 2015-07-08 10:08:23 -04:00
Christine Lytwynec
f3caef9b8f Merge pull request #8762 from edx/clytwynec/TE-965
Clytwynec/te 965
2015-07-06 13:07:18 -04:00
Christine Lytwynec
ab79b0dd1a add coveralls 2015-07-06 11:10:59 -04:00
Christine Lytwynec
0bb519c2a0 Merge pull request #8727 from edx/clytwynec/TE-878
use 1 coveragerc file to generate 1 coverage report per build
2015-07-02 12:13:59 -04:00
Jesse Zoldak
7a852b0b1c Lower pylint threshold to 7000! 2015-07-02 09:04:28 -04:00
Christine Lytwynec
e9e4e3cf65 use 1 coveragerc file to generate 1 coverage report per build 2015-07-01 16:07:49 -04:00
Christine Lytwynec
7f9bec933c split common/lib and js unit tests into separate shards 2015-06-24 11:40:39 -04:00
Jesse Zoldak
483f2e45dd Lower pylint threshold to 7100 2015-06-17 11:32:32 -04:00
Kevin Falcone
4a24363c33 www.stage.edx.org is our Drupal site
It also serves the production SSL cert (*.edx.org) meaning people who
visit www.stage.edx.org get an SSL error.  Send them to stage.edx.org
instead.
2015-06-04 22:28:35 -04:00
Christine Lytwynec
beaacd5dcd add script for jenkins to run accessibility tests 2015-06-03 12:28:56 -04:00
Ben Patterson
aebb35d361 Use jshint in paver, include in builds.
JShint will be executed with paver run_jshint, which will use a defined set of
directories (likewise defined are directories to ignore). A limit can be imposed
on the total number of violations. Note that this change does NOT include adding
jshint to diff-quality or `paver run_quality`.
2015-05-22 16:06:13 -04:00
Christine Lytwynec
4aceb0259b add more detailed comment about exit status 2015-05-15 11:09:55 -04:00
Christine Lytwynec
aee3281d4d clean up all-tests.sh script 2015-05-14 11:20:21 -04:00
Christine Lytwynec
b328a2e893 Merge pull request #8029 from edx/clytwynec/all-tests-exit-status
add exit status back
2015-05-13 15:09:01 -04:00
Christine Lytwynec
5b8482f345 add exit status back 2015-05-13 14:27:23 -04:00
Adam Palay
6d02beeff9 add troubleshooting for logging into stage to release script 2015-05-13 10:20:20 -04:00
Christine Lytwynec
8d0683e21c leave old "unit" test case for now 2015-05-07 09:17:27 -04:00
Christine Lytwynec
9640555d90 skip install_prereqs for the second coverage shard command 2015-05-07 09:17:27 -04:00
Christine Lytwynec
0874d5943d update all-tests.sh to run cms unit tests as separate shard 2015-05-07 09:17:26 -04:00
Christine Lytwynec
ddb1ae667e Split lms unittests into multiple shards 2015-05-07 09:17:26 -04:00
Christine Lytwynec
2817ce1473 Merge pull request #7913 from edx/clytwynec/unique-dirs-for-test-results
Clytwynec/unique dirs for test results
2015-05-06 14:24:21 -04:00