Replace travis-ci with github actions for CI.
This commit is contained in:
parent
a5a5cf6692
commit
f1399e94ed
2 changed files with 23 additions and 13 deletions
23
.github/workflows/tests.yaml
vendored
Normal file
23
.github/workflows/tests.yaml
vendored
Normal 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/
|
||||
13
.travis.yml
13
.travis.yml
|
|
@ -1,13 +0,0 @@
|
|||
language: python
|
||||
python:
|
||||
- 3.6
|
||||
- 3.7
|
||||
dist: bionic
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libsqlcipher-dev
|
||||
install:
|
||||
- python setup.py build_ext -i
|
||||
script:
|
||||
- PYTHONPATH=".:$PYTHONPATH" python test/
|
||||
Loading…
Add table
Add a link
Reference in a new issue