Skip to content

Commit

Permalink
make mypy its own workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
David Robertson committed Oct 8, 2021
1 parent d6a68b6 commit a51f20f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/workflows/mypy.yml
@@ -0,0 +1,14 @@
name: Mypy
on:
pull_request:
push:
branches: ["main"]
jobs:
check-code-style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.6'
- run: mypy
1 change: 0 additions & 1 deletion .github/workflows/pipeline.yml
Expand Up @@ -15,7 +15,6 @@ jobs:
- run: black --check --diff sydent/ tests/ matrix_is_test/ scripts/ setup.py
- run: flake8 sydent/ tests/ matrix_is_test/ scripts/ setup.py
- run: isort --check-only --diff sydent/ tests/ matrix_is_test/ scripts/ setup.py
- run: mypy

run-unit-tests:
needs: [check-code-style]
Expand Down

0 comments on commit a51f20f

Please sign in to comment.