Skip to content

Commit 549d0c0

Browse files
authored
Add GitHub actions (#30)
* Add GitHub actions * Delete config.yml * Remove 3.5
1 parent a6f7473 commit 549d0c0

File tree

2 files changed

+26
-36
lines changed

2 files changed

+26
-36
lines changed

.circleci/config.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/python.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Python
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version: [3.6, 3.7, 3.8]
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Set up Python ${{ matrix.python-version }}
18+
uses: actions/setup-python@v2
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
- name: Install dependencies
22+
run: python -m pip install -e .[dev]
23+
- name: Lint
24+
run: make lint
25+
- name: Test
26+
run: make test

0 commit comments

Comments
 (0)