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.yml32
1 files changed, 21 insertions, 11 deletions
diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml
index 11b8164..7138f69 100644
--- a/.github/workflows/format.yml
+++ b/.github/workflows/format.yml
@@ -6,14 +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: |
- pip install -r requirements.txt
- - 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 --fail-under=9 swr2_asr
+ # run: |
+ # poetry run mypy --strict swr2_asr
+ #- name: Run mypy