Skip to content

Commit

Permalink
pytest: drop the dot
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Apr 2, 2022
1 parent 81a446b commit 6e6ec9b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [2.7, 3.5, 3.6, 3.8, 3.9, "3.10"]
test-cmd: [py.test]
python-version: [2.7, 3.5, 3.6, 3.8, 3.9, "3.10"]
test-cmd: [pytest]
include:
#- python-version: pypy3.5-5.8.0
# test-cmd: py.test test_thefuzz.py test_thefuzz_pytest.py
# test-cmd: pytest test_thefuzz.py test_thefuzz_pytest.py
- python-version: 3.6
test-cmd: python setup.py check --restructuredtext --strict --metadata
- python-version: 3.8
Expand All @@ -24,8 +24,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install pytest pycodestyle docutils Pygments hypothesis python-Levenshtein
- name: Test with pytest
python -m pip install --upgrade pip setuptools wheel
pip install pytest pycodestyle docutils Pygments hypothesis python-Levenshtein
- name: Test with pytest
run: |
${{ matrix.test-cmd }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ doc/aws_hostname.1
.hypothesis/unicodedata
.hypothesis

# py.test
# pytest
.cache/
.pytest_cache
__pycache__
Expand Down
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ language: python
matrix:
include:
- python: "2.7"
env: TEST_SUITE=py.test
env: TEST_SUITE=pytest
- python: "3.4"
env: TEST_SUITE=py.test
env: TEST_SUITE=pytest
- python: "3.5"
env: TEST_SUITE=py.test
env: TEST_SUITE=pytest
- python: "3.6"
env: TEST_SUITE=py.test
env: TEST_SUITE=pytest
- python: "pypy"
env: TEST_SUITE=py.test
env: TEST_SUITE=pytest
- python: "pypy3.5-5.8.0"
env: TEST_SUITE="py.test test_thefuzz.py test_thefuzz_pytest.py"
env: TEST_SUITE="pytest test_thefuzz.py test_thefuzz_pytest.py"
- python: 3.6
env: TEST_SUITE="python setup.py check --restructuredtext --strict --metadata"
install:
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ skip_missing_interpreters = True
deps = pytest==3.2.5
pycodestyle
hypothesis
commands = py.test
commands = pytest

0 comments on commit 6e6ec9b

Please sign in to comment.