Replace travis-ci with github actions for CI.

This commit is contained in:
Charles Leifer 2020-12-16 16:18:23 -06:00
parent a5a5cf6692
commit f1399e94ed
2 changed files with 23 additions and 13 deletions

23
.github/workflows/tests.yaml vendored Normal file
View file

@ -0,0 +1,23 @@
name: Tests
on: [push]
jobs:
tests:
name: ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: package deps
run: |
sudo apt-get install libsqlcipher-dev
python setup.py build_ext -i
- name: runtests
env:
PYTHONPATH: '.:$PYTHONPATH'
run: python test/