diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 29d1e00..90f8268 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,5 @@ -name: Publish to PyPI.org -on: workflow_dispatch +name: Python test and build +on: [push] jobs: pypi: runs-on: ubuntu-latest @@ -15,6 +15,10 @@ jobs: python -m pip install --upgrade pip pip install build pip install -r requirements.txt + pip install pylint + - name: Analysing the code with pylint + run: | + pylint $(git ls-files '*.py') - name: Build package run: python -m build - run: python3 -m pip install --upgrade build && python3 -m build \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index a8619b8..7fccded 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,4 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -requests>=2.14.2 # Apache-2.0 \ No newline at end of file +aiohttp>=3.7.0 \ No newline at end of file diff --git a/setup.py b/setup.py index 6ac7c7b..8f5071d 100644 --- a/setup.py +++ b/setup.py @@ -9,4 +9,4 @@ author="pantherale0", author_email="support@system32.uk", license='MIT', - install_requires="requests") + install_requires="aiohttp")