Repository: Sygil-Dev/whoosh-reloaded (language: python)

Issue:
delete .travis.yml
We have a GitHub Action to replace https://www.travis-ci.com


Discussion / hints:
LGTM, merging.

Fix patch:
diff --git a/setup.py b/setup.py
index d5accade..1d745041 100644
--- a/setup.py
+++ b/setup.py
@@ -45,7 +45,7 @@ def run_tests(self):
         url="http://bitbucket.org/mchaput/whoosh",
 
         zip_safe=True,
-        install_requires=['cached-property'],
+        install_requires=['cached-property', 'jieba'],
         tests_require=['pytest', 'jieba'],
         cmdclass={'test': PyTest},
 
diff --git a/tox.ini b/tox.ini
index bf5bfd6d..8506e83f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,8 +1,9 @@
 [tox]
-envlist = py27, py33, py34, py35, py36, py37
+envlist = py27, py38, py39, py310, py311, py312
 
 [testenv]
 deps =
-	pytest
-	pytest-pep8
+    pytest
+    pytest-pep8
+    jieba
 commands = py.test -s {posargs} tests


Test patch:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index a531d796..28893f78 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -22,3 +22,7 @@ jobs:
           python setup.py clean build install
     - name: Run test
       run: pytest
+    - name: Upload coverage reports to Codecov
+      uses: codecov/codecov-action@v3
+      env:
+        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}