Daniel Hahler
a96907a9db
.coveragerc: use globs with includes
...
Apparently this caused missing coverage with pdb/pexpect tests.
2019-03-01 18:26:30 +01:00
Bruno Oliveira
0dd4cb0f8f
Merge pull request #4862 from blueyed/encodedfile-write-typerror
...
Validate type with writing to captured output like without
2019-03-01 10:12:58 -03:00
Bruno Oliveira
33db5e081d
Tweak changelog
2019-03-01 10:09:29 -03:00
Daniel Hahler
a51dc0c7ce
Validate type with writing to captured output like without
...
Fixes https://github.com/pytest-dev/pytest/issues/4861 .
2019-03-01 14:03:51 +01:00
Bruno Oliveira
276ffa81f6
Merge pull request #4856 from blueyed/travis-no-cov-with-cron
...
ci: Travis: skip coverage with cron runs
2019-03-01 09:03:56 -03:00
Bruno Oliveira
50610311a7
Merge pull request #4859 from blueyed/tox-py27-nobyte-xdist
...
tox: add generic nobyte and numpy factors
2019-03-01 08:48:50 -03:00
Daniel Hahler
c30ab1014e
tox: add generic nobyte and numpy factors
...
Remove `py27-nobyte` from tox.ini, which was using xdist already.
Therefore this also removes `py27-xdist` from Travis.
"nobyte" was added in 036557ac
to test that test_assertrewrite.py works
with a global PYTHONDONTWRITEBYTECODE=1 setting.
"numpy" is only a special dependency, and can be run together with
nobyte/xdist.
2019-03-01 09:12:16 +01:00
Bruno Oliveira
df8869cf1a
Merge pull request #4858 from blueyed/codecov-remove-flags
...
ci: codecov: remove flags completely for now
2019-02-28 20:11:09 -03:00
Daniel Hahler
8b447878dc
ci: codecov: remove flags completely for now
...
This appears to be one of the reasons for timeouts on their backend.
2019-02-28 21:24:26 +01:00
Daniel Hahler
9c590fa474
ci: Travis: skip coverage with cron runs
...
The current commit on features has 50+ uploads already:
c7bbb2a788/build
2019-02-28 19:40:24 +01:00
Bruno Oliveira
55b78ff780
Merge pull request #4848 from blueyed/fix-test_argcomplete
...
Fix test_argcomplete: use python -m pytest
2019-02-27 14:11:53 -03:00
Daniel Hahler
ccab469a0c
Fix test_argcomplete: use python -m pytest
...
Previously it was not run with a) xdist ("-c"), and b) "python -m
pytest" ("…/pytest.py", not executable).
2019-02-27 16:52:46 +01:00
Daniel Hahler
e711a6c275
Merge pull request #4841 from blueyed/coverage-source
...
coverage: use run.include, remove --ignore-errors, send TOXENV as name to codecov
2019-02-27 13:16:31 +01:00
Daniel Hahler
c1e3128b3f
Merge pull request #4844 from blueyed/tox-pexpect
...
tox: generic pexpect factor
2019-02-27 12:33:51 +01:00
Daniel Hahler
05bb5ffb65
Merge pull request #4842 from nicoddemus/disable-bytecode-writing
...
Document how to disable caching rewritten .pyc files to disk
2019-02-27 12:11:20 +01:00
Daniel Hahler
ee95d666f8
coverage: run.include, drop --ignore-errors, codecov name
2019-02-27 12:07:19 +01:00
Daniel Hahler
1e2810e07d
tox: generic pexpect factor
2019-02-27 11:48:22 +01:00
Daniel Hahler
fec656b3b1
Apply suggestions from code review
...
Co-Authored-By: nicoddemus <nicoddemus@gmail.com>
2019-02-27 07:46:03 -03:00
Daniel Hahler
31174f3f83
.coveragerc: fix/tighten paths
2019-02-27 10:02:11 +01:00
Daniel Hahler
5a0f379289
ci: codecov: set name for uploads/builds
2019-02-27 10:02:11 +01:00
Daniel Hahler
0138e9cbb0
ci: coverage: remove --ignore-errors
...
This should not be necessary (anymore).
2019-02-27 09:57:28 +01:00
Daniel Hahler
b5cf61312b
coverage: use source=. and report.include
...
This appears to improve performance - ~4s with `tox -e py37-coverage --
testing/test_collection.py`.
2019-02-27 09:57:28 +01:00
Bruno Oliveira
16cbb3196c
Document how to disable caching rewritten .pyc files to disk
...
Also changed how the section is presented: instead of "Note" blocks, use proper
sections as those contain enough information to exist on their own.
Fix #1680
2019-02-26 20:42:59 -03:00
Bruno Oliveira
f1254c4461
Merge pull request #4840 from nicoddemus/drop-appveyor
...
Drop AppVeyor
2019-02-26 20:42:47 -03:00
Bruno Oliveira
cd9415baf2
Configure azure to enable coverage on PYTEST_COVERAGE=1, similar to Travis
2019-02-26 19:31:52 -03:00
Bruno Oliveira
6bd77c0abd
Remove appveyor.yml and related scripts
2019-02-26 19:03:53 -03:00
Bruno Oliveira
fb7ee7f42c
Add badge for azure pipelines
2019-02-26 19:01:59 -03:00
Bruno Oliveira
9dcd6f2a87
Merge pull request #4839 from blueyed/less-cov
...
Less coverage reporting
2019-02-26 18:57:30 -03:00
Daniel Hahler
e3eb26f91a
ci: Travis: no coverage by default [skip appveyor]
2019-02-26 21:56:01 +01:00
Daniel Hahler
86070f0b7d
ci: AppVeyor: no coverage reporting
...
Should be covered by Azure.
2019-02-26 21:16:04 +01:00
Daniel Hahler
3fbe100a02
ci: Travis: remove coverage from some jobs
2019-02-26 21:14:54 +01:00
Bruno Oliveira
ee62674322
Merge pull request #4831 from nicoddemus/codocov-azure
...
Upload code coverage from azure
2019-02-26 14:42:14 -03:00
Daniel Hahler
a4192160ce
Merge pull request #4837 from blueyed/travis-install
...
ci: Travis: use single install section
2019-02-26 17:20:05 +01:00
Daniel Hahler
4d9296c71f
ci: Travis: use single install section
2019-02-26 17:06:03 +01:00
Bruno Oliveira
d5d190335c
Upload code coverage from azure
2019-02-26 16:56:25 +01:00
Bruno Oliveira
7428064f79
Merge pull request #4836 from blueyed/travis-pluggymaster-xdist
...
ci: xdist with pluggymaster
2019-02-26 12:52:59 -03:00
Bruno Oliveira
af706edd59
Merge pull request #4835 from blueyed/travis-macos
...
Travis: improve macos setup (py37)
2019-02-26 12:42:51 -03:00
Daniel Hahler
4eb40ef283
ci: azure: use xdist with pluggymaster
2019-02-26 14:03:15 +01:00
Daniel Hahler
f85f36ed03
AppVeyor: drop pluggymaster
2019-02-26 14:01:37 +01:00
Daniel Hahler
904f1ca1ce
ci: Travis: macos: use existing py37
...
`brew update` and `brew upgrade python` is very slow.
This uses the existing `/usr/local/bin/python3` (3.7.0).
2019-02-26 13:55:52 +01:00
Daniel Hahler
32b85e4ccc
ci: Travis: use xdist with pluggymaster jobs
2019-02-26 12:57:27 +01:00
Bruno Oliveira
3fd2f43fb6
Merge pull request #4828 from Zac-HD/mark-docs
...
Clarify docs on --strict marks
2019-02-25 10:07:40 -03:00
Zac-HD
d9bdf5cfca
Clarify docs on --strict marks
2019-02-25 22:30:49 +11:00
Anthony Sottile
f494eefcae
Merge pull request #4823 from nicoddemus/unittest2env
...
Add unittest2 testing to trial environment
2019-02-24 10:33:26 -08:00
Bruno Oliveira
2e89812fad
Add unittest2 testing to trial environment
...
Just noticed that `test_usefixtures_marker_on_unittest` is parametrized
for unittest2, but no environment ever installed that library.
2019-02-24 13:21:00 -03:00
Bruno Oliveira
a0f5c4c8f5
Merge pull request #4799 from blueyed/codecov
...
codecov: use only linux/windows/osx flags
2019-02-24 12:16:51 -03:00
Bruno Oliveira
2e210acd00
Merge pull request #4819 from Handsome2734/doc-fix
...
add notice to use [tool:pytest] in setup.cfg
2019-02-24 12:16:30 -03:00
Anthony Sottile
ff25b52110
Merge pull request #4820 from nicoddemus/fix-test-prefix
...
Fix docs about pytest conventions for test functions
2019-02-23 12:02:04 -08:00
Bruno Oliveira
3e11bd0d6e
Update wording about [tool:pytest] in setup.cfg files
2019-02-23 15:32:42 -03:00
Bruno Oliveira
6a4c7063fd
Fix docs about pytest conventions for test functions
...
Fix #4818
2019-02-23 15:22:27 -03:00