From 2df73b76a80da1f7aace55094649de897e6650f1 Mon Sep 17 00:00:00 2001 From: Vladan Popovic Date: Sun, 6 Sep 2020 03:54:48 +0200 Subject: [PATCH] Setup CI --- .github/workflows/build.yaml | 23 +++++++++++++++++++++++ README.rst | 3 +++ setup.py | 2 +- 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..af7d6c2 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,23 @@ +name: build + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + python: [3.6, 3.7, 3.8] + + steps: + - uses: actions/checkout@v2 + - name: Setup Python + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python }} + - name: Install Tox and any other packages + run: pip install tox + - name: Run Tox + # Run tox using the version of Python in `PATH` + run: tox diff --git a/README.rst b/README.rst index b1fc27d..d250d13 100644 --- a/README.rst +++ b/README.rst @@ -2,6 +2,9 @@ Website stats collector demo ============================ +.. image:: https://github.com/vladan/aiven-site-checker/workflows/chweb/badge.svg + :target: https://github.com/vladan/aiven-site-checker/actions?query=branch%3Amaster + CHWEB is a website checking tool. ATM in its very early stages meant to demo `aiven `_'s diff --git a/setup.py b/setup.py index ae04a5a..0bcea1d 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ from setuptools import setup # type: ignore setup( use_scm_version=True, setup_requires=['setuptools_scm'], - python_requires='>=3.8, <4', + python_requires='>=3.6, <4', install_requires=[ 'aiokafka==0.6.0', 'asyncpg==0.21.0',