Add actions

master
Salvo 'LtWorf' Tomaselli 2020-11-23 22:50:14 +07:00
parent 8e209235d0
commit 34f27754fe
No known key found for this signature in database
GPG Key ID: B3A7CF0C801886CF
2 changed files with 35 additions and 0 deletions

@ -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