Alessio Bogon
31122fad7c
Need to use coverage[toml] on CI
2022-07-27 20:09:56 +02:00
Alessio Bogon
1706700ce6
Drop support for pytest < 6.2
2022-07-26 00:07:46 +02:00
Alessio Bogon
3c74f7d899
Add python 3.11 to the test matrix
2022-07-09 09:39:33 +02:00
Alessio Bogon
e968e6e14b
update mypy in tox.ini
2022-07-08 22:01:58 +02:00
Alessio Bogon
3f21b40933
Add pytest 7.1
2022-07-08 21:57:19 +02:00
Alessio Bogon
da74e26252
Remove linter step, we have pre-commit.ci
2022-07-08 21:38:48 +02:00
Alessio Bogon
b4b09c7361
fix tox.ini
2022-07-08 21:23:25 +02:00
Alessio Bogon
e16fca0868
Use poetry
2022-07-08 15:56:47 +02:00
Alessio Bogon
4883770ebc
Fix black version
2022-05-01 15:15:35 +02:00
Alessio Bogon
32bb62f3e6
Add github action to run mypy
2022-02-24 16:52:23 +01:00
Alessio Bogon
512fd0f690
Update pre-commit config
2022-02-24 12:45:07 +01:00
Alessio Bogon
68078ba446
Merge remote-tracking branch 'origin/master' into step-def-yield
...
# Conflicts:
# CHANGES.rst
# tox.ini
2022-02-24 12:41:23 +01:00
Alessio Bogon
743c9a1a4f
Fix black version
2022-02-22 17:20:11 +01:00
Alessio Bogon
5737ca4a2d
fix pytest-python matrix
2022-02-22 17:14:42 +01:00
Alessio Bogon
d9540fd75c
Simplify tox matrix, do not pin parse_type dependency.
...
We don't need to pin parse_type, we can just allow any version that the user has.
2022-02-22 16:58:26 +01:00
Alessio Bogon
e48f6aa686
Update black version
2022-02-22 16:32:15 +01:00
Alessio Bogon
421f87a605
Test against pytest 7.0 and python 3.10
2022-02-22 16:26:23 +01:00
Konstantin Goloveshko
b05dbe0aec
Update python environment
...
- Drop python 3.6 because of EOL
- Drop pytest<5 (Actually there wasn't reason to support 4.x version because they are about 3.4/2.7 python support, which already dropped)
- Fix source distribution build
2022-02-01 22:34:05 +02:00
Alessio Bogon
26adcc468a
Switch to GitHub actions ( #417 )
...
* Add github workflow for testing
* Add .editorconfig
* setup.py -> setup.cfg
* Remove .travis.yml
* Test on the python python 3.10 (alpha)
2021-04-16 09:27:31 +02:00
Konstantin Goloveshko
e1dc0cad9a
Update python and pytest
...
- Drop support of python 2.7, 3.5; Add explicit support for python >=3.6
- Remove six dependency
- Simplify getting step parser strategy; If step could be stringified it could be used
- Respect pytest --strict option in tests
2021-03-02 19:08:00 +02:00
Alessio Bogon
2736d87e4a
Add latest pytests to tox
2020-09-05 18:59:45 +02:00
Alessio Bogon
e87b756306
Update pythons and pytests
2019-10-21 12:48:27 +02:00
Hugo van Kemenade
9dc09bcd06
Fix for Python 4 and drop support for pytest < 4.3 ( #332 )
...
* Fix for Python 4
* Drop support for pytest < 4.3
* Update changelog and authors
2019-10-11 10:53:04 +02:00
Alessio Bogon
c6b16b676b
Refactor code coverage configuration ( #321 )
...
* Switch from Coveralls.io to Codecov.io
* Use `coverage` directly instead of `pytest-cov`, it seems to solve issues
2019-08-27 18:16:15 +02:00
Alessio Bogon
f4dce04053
Use black for linters check.
2019-08-27 17:54:58 +02:00
Florian Bruhin
0b6cc6518c
Fix Python 3.8 support
2019-08-19 13:28:33 +02:00
Alessio Bogon
76a75ea3e6
Switch from pytest-pep8 to pycodestyle.
...
Pytest-pep8 received the last update in 2014, and it is now not working with pytest >= 4.5
2019-07-05 15:14:58 +02:00
Alessio Bogon
d299bd75ad
Stop testing for old pytest and python versions
2019-07-05 15:14:58 +02:00
Alessio Bogon
f5e90000b7
Fix missed pytest options
2019-02-19 13:59:09 +01:00
Alessio Bogon
2b60fbc378
Remove pytest < 3.3.2 from the test suite
2019-02-18 10:26:14 +01:00
Alessio Bogon
ee05a101e9
drop compatibility with pytest < 3.0.0
2019-02-18 10:26:14 +01:00
Alessio Bogon
fa0514ecb1
add pytest 4.1, 4.2 to tox builds
2019-02-17 11:35:06 +01:00
Alessio Bogon
516533cf03
Add pytests 3.10 and 4 to tox ( #267 )
...
* Update changelog
* Add pytests to tox
2018-11-22 10:32:09 +01:00
Alessio Bogon
f1a3e45e51
Test all supported pytest versions (plus more python interpreters) ( #265 )
...
Test all supported pytest versions (plus more python interpreters) and pytest-xdist
2018-11-02 12:11:47 +01:00
Milosz Sliwinski
f7a30fc843
Update lowest required pytest version ( #260 )
...
* Update lowest required pytest version
* tox: Run tests for minimal version of pytest
* Bump version to 3.0.1. Update changelog
2018-11-01 22:05:45 +01:00
Florian Bruhin
d66076420e
Update tox.ini for pylib bitbucket -> github move
2016-09-18 14:17:07 +02:00
Florian Bruhin
eaadc52dd3
Don't run tests in linters tox env
...
pytest-pep8 adds some new tests, but without selecting only them (via -m
pep8), the tests would run in the linters env as well.
2016-06-30 09:03:16 +02:00
Florian Bruhin
d57bdb2995
tox: Switch pytest-latest env from hg to git
...
pytest switched from Bitbucket to GitHub some while ago. This also uses the
`features` branch as that's the one with the newest breaking changes.
2016-06-17 10:50:12 +02:00
Florian Bruhin
2e56eed167
Don't comment py27-xdist part in tox.ini.
...
It's enough to disable the environment by default, the config can stay there
without doing any harm.
2015-12-20 20:00:30 +01:00
Florian Bruhin
1abe75ccf3
Disable xdist tests for now.
...
See #162 .
Those can probably be re-enabled when pytest 2.9 is released, but for now let's
disable them to have useful Travis feedback.
2015-12-20 18:25:43 +01:00
Anatoly Bubenkov
be64d6cc42
test fixes
2015-08-31 10:35:05 +02:00
Anatoly Bubenkov
831d2122dc
increase test coverage
2015-06-24 01:17:34 +02:00
Anatoly Bubenkov
29f2c1cbe4
Implemented shortcut to automatically bind scenarios to tests. closes #103 , #89 , #92 , #90
2015-03-18 23:51:37 +01:00
Oleg Pidsadnyi
c8fda61ace
Fixes travis build
2015-02-28 21:52:22 +01:00
Oleg Pidsadnyi
8741266d07
ignore E731 pep8 rule
2015-02-28 21:32:28 +01:00
Anatoly Bubenkov
57431dc218
Implement simple code generation command. Closes #32
2014-09-19 19:28:47 +00:00
Anatoly Bubenkov
a427de339d
add verbosity
2014-07-24 19:24:51 +02:00
Anatoly Bubenkov
a09f49adc1
Update tox.ini
2014-06-10 22:03:53 +02:00
Anatoly Bubenkov
43b1787914
add python 3.4 as a test environment
2014-06-10 21:57:07 +02:00
Oleg Pidsadnyi
92a9377cec
Fixed step arguments conflict with the fixtures having the same name
2014-02-19 12:48:14 +01:00