Add github test workflow and remove travis
parent
7709e58d64
commit
b5cf8a235d
|
|
@ -0,0 +1,23 @@
|
||||||
|
name: camelot
|
||||||
|
|
||||||
|
on: [pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
python-version: [3.6, 3.7, 3.8, 3.9]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: ${{ matrix.python-version }}
|
||||||
|
- name: Install camelot with dependencies
|
||||||
|
run: |
|
||||||
|
make install
|
||||||
|
- name: Test with pytest
|
||||||
|
run: |
|
||||||
|
make test
|
||||||
29
.travis.yml
29
.travis.yml
|
|
@ -1,29 +0,0 @@
|
||||||
sudo: true
|
|
||||||
language: python
|
|
||||||
cache: pip
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
update: true
|
|
||||||
install:
|
|
||||||
- make install
|
|
||||||
jobs:
|
|
||||||
include:
|
|
||||||
- stage: test
|
|
||||||
script:
|
|
||||||
- make test
|
|
||||||
python: '3.6'
|
|
||||||
- stage: test
|
|
||||||
script:
|
|
||||||
- make test
|
|
||||||
python: '3.7'
|
|
||||||
dist: xenial
|
|
||||||
- stage: test
|
|
||||||
script:
|
|
||||||
- make test
|
|
||||||
python: '3.8'
|
|
||||||
dist: xenial
|
|
||||||
- stage: coverage
|
|
||||||
python: '3.8'
|
|
||||||
script:
|
|
||||||
- make test
|
|
||||||
- codecov --verbose
|
|
||||||
Loading…
Reference in New Issue