Add actions
This commit is contained in:
parent
8e209235d0
commit
34f27754fe
17
.github/workflows/mypy.yml
vendored
Normal file
17
.github/workflows/mypy.yml
vendored
Normal file
@ -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
|
18
.github/workflows/test.yml
vendored
Normal file
18
.github/workflows/test.yml
vendored
Normal file
@ -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
Block a user