Commit Graph

83 Commits

Author SHA1 Message Date
Sajith Sasidharan
bcfd3a5eb8 Pass posargs to py.test when running integration tests
Running "tox -e integration" takes a while.  It would be helpful to
run tests from just one file.  With this change, we can do that, like
so:

  $ tox -e integration -- integration/test_web.py

Or even just one test, like so:

  $ tox -e integration -- integration/test_web.py::test_index

With this investigating failing integration tests will be a little
easier, hopefully.

Fixes: ticket:3285
2020-03-06 15:37:19 -05:00
Jean-Paul Calderone
9a6d5cb628 Attempt to inherit the base dependencies in the pyinstaller env 2020-01-20 11:35:14 -05:00
Jean-Paul Calderone
55b87b264c use --pyproject 2020-01-09 14:20:33 -05:00
Jean-Paul Calderone
b9e794a5c8 Merge remote-tracking branch 'meejah/codechecks-delete-local.0' into 2941.codechecks-clean 2020-01-09 14:19:46 -05:00
Chris Wood
ee5a0d27bd Add 'pip freeze' step to 'pyinstaller' tox testenv 2019-10-07 11:30:10 -04:00
meejah
e178d7d809
Merge pull request #524 from meejah/2942.towncrier-draft
add a 'draftnews' tox environment
2019-09-03 10:47:05 -06:00
meejah
ba5f44354b
Merge pull request #636 from meejah/integration-test-coverage
coverage for integration tests
2019-08-08 18:40:29 +00:00
meejah
43162f2ffe combine for normal runs, too 2019-08-07 13:51:05 -06:00
meejah
8e4b05214a add --coverage for integration tests 2019-08-06 16:47:43 -06:00
Jean-Paul Calderone
bb385d45f7 teach tox about the new --package option 2019-08-02 18:29:04 -06:00
Jean-Paul Calderone
39d989676a Attempt to define pypy27 and pypy27-coverage tox environments 2019-06-25 14:16:09 -04:00
tpltnt
cbec4f803a fixing codechecks / lint for circleci 2019-05-22 10:31:08 +02:00
Jean-Paul Calderone
b4459c2dc1 Merge remote-tracking branch 'origin/master' into 3029.install-test-plugins 2019-05-14 06:26:19 -04:00
Jean-Paul Calderone
0294d14401 explain the new pip freeze in the coverage commands 2019-05-14 03:37:35 -04:00
Jean-Paul Calderone
aec341eea8 explain the pinning in tox deps config 2019-05-14 03:36:34 -04:00
Jean-Paul Calderone
1717243212 Re-pin these because it's nice to know what versions we're using 2019-05-13 11:32:02 -04:00
Jean-Paul Calderone
7c71dd6e14 going to try another fix 2019-05-13 11:18:39 -04:00
Jean-Paul Calderone
27962dcd2f Try pinning *new* versions
Tox released 4 hours ago ******BROKE****** everything by removing the
upgrade-these-packages-automatically feature.

Not that I'm bitter.
2019-05-13 11:14:05 -04:00
Jean-Paul Calderone
33bd9bf503 Get a not-*quite*-so-old version of pip 2019-05-13 10:31:46 -04:00
Jean-Paul Calderone
abf319888d Try pinning pip another way
Previous commit didn't yield any information because the error happens before
the commands are run.
2019-05-13 10:27:41 -04:00
Jean-Paul Calderone
f17647f29c Find out what versions are in the tox environment 2019-05-13 10:23:18 -04:00
Jean-Paul Calderone
af3905ac32 Cannot skipsdisk if you don't want usedevelop 2019-05-08 18:42:17 -06:00
Jean-Paul Calderone
383d1361c8 Turn off usedevelop
It produces less useful test results by testing against a "develop"-installed
codebase.  This masks bugs in our setup.py.
2019-05-08 18:42:17 -06:00
meejah
1f5b647bee simplify comment (from review) 2019-04-09 15:35:45 -06:00
meejah
c731473d9e newer towncrier works with py2.7 2019-04-09 15:35:29 -06:00
meejah
23cd5f1526 add a 'draftnews' tox environment 2019-04-09 15:00:12 -06:00
Jean-Paul Calderone
fec5064a2f Get pip and pyinstaller working together. 2019-01-25 10:46:23 -05:00
Jean-Paul Calderone
6d28d08299
Revert "Get pip 19 and pyinstaller 3.4 working together" 2019-01-24 10:33:59 -05:00
Jean-Paul Calderone
007d13d357 watch out when copy/pasting from tox docs 2019-01-23 16:48:34 -05:00
Jean-Paul Calderone
d6bf0d0b25 Try to get pip 19 and pyinstaller 3.4 working together 2019-01-23 16:09:25 -05:00
Jean-Paul Calderone
812125a71f Remove the basepython declaration from the testenv
This works around https://github.com/tox-dev/tox/issues/1020
2019-01-23 11:45:19 -05:00
meejah
821e6c3d07 let 'tahoe -e codechecks' run w/o making local changes 2018-08-27 15:25:48 -06:00
Jean-Paul Calderone
436cb8fda6 A different work-around for the pep 518 mess 2018-08-06 12:13:33 -04:00
Jean-Paul Calderone
70589aab3d attempt to work around the pip build isolation problem 2018-08-06 12:13:33 -04:00
Jean-Paul Calderone
b13f1cc531 try with only one extra 2018-08-06 12:13:33 -04:00
Jean-Paul Calderone
2422b959df absolute minimum documentation 2018-08-06 10:32:16 -04:00
Jean-Paul Calderone
e0e0abf019 Check for the towncrier news fragment as part of the tox codechecks env. 2018-08-06 10:28:45 -04:00
Jean-Paul Calderone
12a36abf63 Attempt to have a cached wheelhouse for pip 2018-07-09 13:36:40 -04:00
Jean-Paul Calderone
1ebc59b2fe our dependency on subunit is via subunitreporter 2018-07-09 11:39:46 -04:00
Jean-Paul Calderone
97bc77d96b Go straight to a file with the subunit2 output.
It's just too hard otherwise.
2018-07-08 18:49:45 -04:00
Jean-Paul Calderone
80027f3ef1 need this in the tox env too 2018-07-06 17:26:11 -04:00
Jean-Paul Calderone
75367adda7 Avoid duplication of some deps 2018-07-06 10:12:44 -04:00
Jean-Paul Calderone
ad35ee498a Make sure we get the extra deps we need 2018-07-05 19:44:49 -04:00
Jean-Paul Calderone
16e4370630 Generate junitxml and give it to CircleCI 2018-07-05 14:19:23 -04:00
Jean-Paul Calderone
531ac8474b Get certifi to fix the underlying problem
Having certifi magically makes setuptools able to talk to PyPI.  Whew!
2018-07-04 20:14:29 -04:00
Jean-Paul Calderone
c45a53590e re-enable full test suite 2018-06-15 13:24:01 -04:00
Jean-Paul Calderone
a4ac9ba9ce Upload the deprecation warning logs as artifacts 2018-06-15 13:20:46 -04:00
Jean-Paul Calderone
933096bdab Spell the test module correctly. 2018-06-15 13:08:40 -04:00
Jean-Paul Calderone
20cf504973 Remove these duplicated pyflakes checks
There is a dedicated `codechecks` environment.  Use that if you want to
do code checks.
2018-06-15 08:44:52 -04:00
Jean-Paul Calderone
c9c62fb076 Remove check-interfaces.py for spuriousness
It reports a bunch of problems with non-Tahoe-LAFS code and nothing with
Tahoe-LAFS code and therefore is not very useful.
2018-06-15 08:44:26 -04:00