diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml new file mode 100644 index 0000000..a07389b --- /dev/null +++ b/.github/workflows/pythonpackage.yml @@ -0,0 +1,30 @@ +name: 'Python package: Scylla' + +on: [push, pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + max-parallel: 2 + matrix: + python-version: [3.6, ]# [2.7, 3.5, 3.6, 3.7] + + steps: + - uses: actions/checkout@v1 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v1 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + sudo apt-get install libgnutls28-dev libcurl4-openssl-dev libssl-dev + pip install -r tests/requirements-test.txt + python setup.py install + - name: Lint with flake8 + run: | + make style-check + - name: Test with pytest + run: | + pytest --cov=./scylla tests diff --git a/requirements.txt b/requirements.txt index 5b27d66..0d2ed34 100755 --- a/requirements.txt +++ b/requirements.txt @@ -3,8 +3,8 @@ peewee==3.2.2 requests==2.22.0 requests-html==0.9.0 pycurl==7.43.0.1 -sanic==18.12.0 -sanic-cors==0.9.7 +sanic==19.6.3 +sanic-cors==0.9.9 schedule==0.5.0 six==1.11.0 pyppeteer==0.0.25 diff --git a/scylla/_version.py b/scylla/_version.py index 464ea23..d294ca8 100644 --- a/scylla/_version.py +++ b/scylla/_version.py @@ -1 +1 @@ -__version__ = '1.1.6' \ No newline at end of file +__version__ = '1.1.7' \ No newline at end of file