aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/format.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/format.yml')
-rw-r--r--.github/workflows/format.yml38
1 files changed, 21 insertions, 17 deletions
diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml
index 4a5a509..8411d60 100644
--- a/.github/workflows/format.yml
+++ b/.github/workflows/format.yml
@@ -6,20 +6,24 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@master
- - name: Set up Python
- uses: actions/setup-python@v3
- with:
- python-version: "3.10"
- - name: Install dependencies
- run: |
- python -m pip install -U pip poetry
- poetry --version
- poetry check --no-interaction
- poetry config virtualenvs.in-project true
- poetry install --no-interaction
- - name: Run CI
- run: |
- make lint
-
-
+ - uses: actions/checkout@master
+ - name: Set up Python
+ uses: actions/setup-python@v3
+ with:
+ python-version: "3.10"
+ - name: Install dependencies
+ run: |
+ python -m pip install -U pip poetry
+ poetry --version
+ poetry check --no-interaction
+ poetry config virtualenvs.in-project true
+ poetry install --no-interaction
+ - name: Check for format issues
+ run: |
+ make format-check
+ - name: Run pylint
+ run: |
+ poetry run pylint swr2_asr
+ - name: Run mypy
+ run: |
+ poetry run mypy --strict swr2_asr