Commit Graph

9699 Commits

Author SHA1 Message Date
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 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
songbowen 15fe60aa25 add notice to use [tool:pytest] in setup.cfg 2019-02-24 00:24:56 +08:00
Daniel Hahler 1ec7f60484 codecov: use only linux/windows flags
Using many flags are a reason for timeouts on Codecov's backend.
2019-02-23 08:28:08 +01:00
Bruno Oliveira 1cf9c2e76f
Merge pull request #4816 from nicoddemus/fix-new-pluggy
Fix test failures after pluggy 1.8 release
2019-02-22 22:42:40 -03:00
Bruno Oliveira a68f4fd2b9 Fix test failures after pluggy 1.8 release
pluggy now calls iter_entry_points with different arguments, and tests
which mocked that call need to be updated accordingly.
2019-02-22 18:58:54 -03:00
Bruno Oliveira 5b35241470
Merge pull request #4812 from mitzkia/logging_from_runtest_logreport
Logging: Make pytest_runtest_logreport() hook available for logging
2019-02-22 18:47:06 -03:00
Andras Mitzki b26b731498 Logging: Make pytest_runtest_logreport() available for logging
Signed-off-by: Andras Mitzki <andras.mitzki@balabit.com>
2019-02-22 05:14:44 +01:00
Anthony Sottile da305966d2
Merge pull request #4793 from nicoddemus/azure-include-more-envs
Add same environments to Azure, except py37-freeze
2019-02-21 09:15:44 -08:00
Bruno Oliveira 4ee10d2266
Merge pull request #4813 from discdiver/patch-1
Doc update - recommend use venv instead of virtualenv
2019-02-21 14:06:36 -03:00
Bruno Oliveira e1aeb6915e Fix linting 2019-02-21 13:27:12 -03:00
Bruno Oliveira e75915bb73
Revert recommending virtualenv for Python 3.4
`venv` is already available in Python 3.4, my mistake
2019-02-21 13:03:19 -03:00
Bruno Oliveira ba2a43266a
Mention that virtualenv should be used for Python 3.4 as well 2019-02-21 12:52:09 -03:00
Jeff Hale cfaa8bbee8
recommend venv or virtualenv, depending on python version
venv has been installed with Python since 3.3.  https://docs.python.org/3/library/venv.html
2019-02-21 10:50:49 -05:00
Jeff Hale 6b661795cf
update links.inc to include both venv and virtualenv 2019-02-21 10:41:59 -05:00
Jeff Hale fa65b71c98
Merge pull request #1 from discdiver/discdiver-patch-1
update links for virtualenv -> venv
2019-02-20 15:41:39 -05:00
Jeff Hale da5dec83f6
update links for virtualenv -> venv 2019-02-20 15:36:34 -05:00
Jeff Hale 2ef3cb2510
Recommend use venv instead of virtualenv
From the Python docs:
"Changed in version 3.5: The use of venv is now recommended for creating virtual environments."
-https://docs.python.org/3/library/venv.html
2019-02-20 15:33:48 -05:00
Zac Hatfield-Dodds c8a87e48ab
Merge pull request #4783 from gyermolenko/fix_syntax_highlighting_for_two_rst_docs
Fix sphinx code-block types (syntax highlighting) in two docs
2019-02-20 06:31:10 +11:00
Bruno Oliveira bf6dcd64dc
Merge pull request #4757 from blueyed/pypy
Travis: use pypy from Xenial, add pypy3
2019-02-18 19:55:43 -03:00
Daniel Hahler 214c331236 Travis: use pypy from Xenial, add pypy3 2019-02-18 22:32:31 +01:00
Bruno Oliveira 9cb504ca9a Add same environments to Azure as have in AppVeyor, except py37-freeze
py37-freeze will be tackled in https://github.com/pytest-dev/pytest/issues/4807
2019-02-18 17:23:39 -03:00