From 55def2e65da4ecdb6082d712fbaffe21bba78b1a Mon Sep 17 00:00:00 2001 From: Nipun Sadvilkar Date: Fri, 29 May 2020 19:30:36 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20=F0=9F=91=B7=20=20Fix=20Github?= =?UTF-8?q?=20Actions=20&=20rm=20travis=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes #62 --- .github/workflows/python-package.yml | 5 +- .travis.yml | 12 ----- Pipfile | 1 - Pipfile.lock | 73 +--------------------------- 4 files changed, 3 insertions(+), 88 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 8f868b5..f1abc2f 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -26,9 +26,8 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pipenv --upgrade-strategy=only-if-needed - pip install flake8 - pipenv install --dev + pip install flake8 pytest + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 1331ca5..0000000 --- a/.travis.yml +++ /dev/null @@ -1,12 +0,0 @@ -language: python -python: - - "3.6" - -# command to install dependencies -install: - - "pip install pipenv --upgrade-strategy=only-if-needed" - - "pipenv install --dev" - -# command to run the dependencies -script: - - "pytest" diff --git a/Pipfile b/Pipfile index 888a699..fae6c75 100644 --- a/Pipfile +++ b/Pipfile @@ -10,7 +10,6 @@ twine = "*" pytest = "*" [packages] -pytest = "*" spacy = "*" [requires] diff --git a/Pipfile.lock b/Pipfile.lock index 285907a..e95fbe9 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "60feeddf7e17a89d6b20c8a07ec3aff8477025cf588b12c2a4caae41ff21675e" + "sha256": "787c865b871f1ee8c10076e533ea88104861a82855dfae5a459aeaa4b0a1628b" }, "pipfile-spec": 6, "requires": { @@ -16,14 +16,6 @@ ] }, "default": { - "attrs": { - "hashes": [ - "sha256:08a96c641c3a74e44eb59afb61a24f2cb9f4d7188748e76ba4bb5edfa3cb7d1c", - "sha256:f7b7ce16570fe9965acd6d30101a28f62fb4a7f9e926b3bbc9b61f8b04247e72" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", - "version": "==19.3.0" - }, "blis": { "hashes": [ "sha256:00473602629ba69fe6565108e21957e918cb48b59f5bf2f6bfb6e04de42500cb", @@ -100,14 +92,6 @@ "markers": "python_version < '3.8'", "version": "==1.6.0" }, - "more-itertools": { - "hashes": [ - "sha256:558bb897a2232f5e4f8e2399089e35aecb746e1f9191b6584a151647e89267be", - "sha256:7818f596b1e87be009031c7653d01acc46ed422e6656b394b0f765ce66ed4982" - ], - "markers": "python_version >= '3.5'", - "version": "==8.3.0" - }, "murmurhash": { "hashes": [ "sha256:27b908fe4bdb426f4e4e4a8821acbe0302915b2945e035ec9d8ca513e2a74b1f", @@ -156,14 +140,6 @@ "markers": "python_version >= '3.5'", "version": "==1.18.4" }, - "packaging": { - "hashes": [ - "sha256:4357f74f47b9c12db93624a82154e9b120fa8293699949152b22065d556079f8", - "sha256:998416ba6962ae7fbd6596850b80e17859a5753ba17c32284f67bfff33784181" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", - "version": "==20.4" - }, "plac": { "hashes": [ "sha256:398cb947c60c4c25e275e1f1dadf027e7096858fb260b8ece3b33bcff90d985f", @@ -171,14 +147,6 @@ ], "version": "==1.1.3" }, - "pluggy": { - "hashes": [ - "sha256:15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0", - "sha256:966c145cd83c96502c3c3868f50408687b38434af77734af1e9ca461a4081d2d" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", - "version": "==0.13.1" - }, "preshed": { "hashes": [ "sha256:0c15ae62f2595ca479decc3452967484dae57b510278800f5deb9115238cc818", @@ -200,30 +168,6 @@ ], "version": "==3.0.2" }, - "py": { - "hashes": [ - "sha256:5e27081401262157467ad6e7f851b7aa402c5852dbcb3dae06768434de5752aa", - "sha256:c20fdd83a5dbc0af9efd622bee9a5564e278f6380fffcacc43ba6f43db2813b0" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", - "version": "==1.8.1" - }, - "pyparsing": { - "hashes": [ - "sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1", - "sha256:ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b" - ], - "markers": "python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3'", - "version": "==2.4.7" - }, - "pytest": { - "hashes": [ - "sha256:95c710d0a72d91c13fae35dce195633c929c3792f54125919847fdcdf7caa0d3", - "sha256:eb2b5e935f6a019317e455b6da83dd8650ac9ffd2ee73a7b657a30873d67a698" - ], - "index": "pypi", - "version": "==5.4.2" - }, "requests": { "hashes": [ "sha256:43999036bfa82904b6af1d99e4882b560e5e2c68e5c4b0aa03b655f3d7d73fee", @@ -232,14 +176,6 @@ "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'", "version": "==2.23.0" }, - "six": { - "hashes": [ - "sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259", - "sha256:8b74bedcbbbaca38ff6d7491d76f2b06b3592611af620f8426e82dddb04a5ced" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", - "version": "==1.15.0" - }, "spacy": { "hashes": [ "sha256:01202066f75c7f2cfeb9c167c3184b5b0a9d465604b0ca553bd9e788353c5905", @@ -313,13 +249,6 @@ ], "version": "==0.6.0" }, - "wcwidth": { - "hashes": [ - "sha256:cafe2186b3c009a04067022ce1dcd79cb38d8d65ee4f4791b8888d6599d1bbe1", - "sha256:ee73862862a156bf77ff92b09034fc4825dd3af9cf81bc5b360668d425f3c5f1" - ], - "version": "==0.1.9" - }, "zipp": { "hashes": [ "sha256:aa36550ff0c0b7ef7fa639055d797116ee891440eac1a56f378e2d3179e0320b",