Add actions
parent
8e209235d0
commit
34f27754fe
@ -0,0 +1,17 @@
|
|||||||
|
name: Mypy
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: '3.x'
|
||||||
|
- name: Install dependencies
|
||||||
|
run: pip install -r test-requirements.txt
|
||||||
|
- name: mypy
|
||||||
|
run: make mypy
|
@ -0,0 +1,18 @@
|
|||||||
|
name: Test
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: '3.x'
|
||||||
|
- name: Install dependencies
|
||||||
|
run: pip install -r test-requirements.txt
|
||||||
|
- name: Run tests
|
||||||
|
run: make test
|
||||||
|
|
Loading…
Reference in New Issue