Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan M. Taylor <dylan@dylanmtaylor.com>2021-05-15 09:54:08 -0400
committerGitHub <noreply@github.com>2021-05-15 09:54:08 -0400
commitbe94c7d5fe1cc2e34dfa84f83d87a22a234359fd (patch)
tree79b56b45da16da15b6d0ed7b40cf4aaf0c05d2f6
parentd8d700f949e35b9d897eb108732e4614ee3ba0ae (diff)
Split into separate jobs
-rw-r--r--.github/workflows/lint-python.yaml13
1 files changed, 10 insertions, 3 deletions
diff --git a/.github/workflows/lint-python.yaml b/.github/workflows/lint-python.yaml
index 5e7e6c2f..516c7b4f 100644
--- a/.github/workflows/lint-python.yaml
+++ b/.github/workflows/lint-python.yaml
@@ -1,13 +1,22 @@
on: [push, pull_request]
name: Lint Python and Find Syntax Errors
jobs:
+ mypy:
+ runs-on: ubuntu-latest
+ container:
+ image: archlinux:latest
+ steps:
+ - uses: actions/checkout@v2
+ - run: pacman --noconfirm -Syu python mypy
+ - name: run mypy
+ run: mypy . --ignore-missing-imports
lint:
runs-on: ubuntu-latest
container:
image: archlinux:latest
steps:
- uses: actions/checkout@v2
- - run: pacman --noconfirm -Syu python python-pip mypy
+ - run: pacman --noconfirm -Syu python python-pip
- run: python -m pip install --upgrade pip
- run: pip install flake8 pytest
- name: Lint with flake8
@@ -16,5 +25,3 @@ jobs:
flake8 . --count --select=E9,F63,F7 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- - name: run mypy
- run: mypy . --ignore-missing-imports