Skip to content

Commit

Permalink
Actions: Initial commit (#103)
Browse files Browse the repository at this point in the history
* Actions: Initial commit

* Update

* Update

* Update reqs

* Bump 1.1.7
  • Loading branch information
imWildCat authored Aug 25, 2019
1 parent 62b933e commit aa64d89
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 3 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion scylla/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.1.6'
__version__ = '1.1.7'

0 comments on commit aa64d89

Please sign in to comment.