From 34f27754fe5718681b63f70364191e01bda69938 Mon Sep 17 00:00:00 2001 From: Salvo 'LtWorf' Tomaselli Date: Mon, 23 Nov 2020 22:50:14 +0100 Subject: [PATCH] Add actions --- .github/workflows/mypy.yml | 17 +++++++++++++++++ .github/workflows/test.yml | 18 ++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 .github/workflows/mypy.yml create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml new file mode 100644 index 0000000..ebb492f --- /dev/null +++ b/.github/workflows/mypy.yml @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..427bb24 --- /dev/null +++ b/.github/workflows/test.yml @@ -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 +