aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/wee-slack.yml20
1 files changed, 6 insertions, 14 deletions
diff --git a/.github/workflows/wee-slack.yml b/.github/workflows/wee-slack.yml
index 07c86f4..ce6080a 100644
--- a/.github/workflows/wee-slack.yml
+++ b/.github/workflows/wee-slack.yml
@@ -19,22 +19,14 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
+ - uses: abatilo/actions-poetry@v2
- - run: pip install --upgrade pipenv
- - run: pipenv install --dev --skip-lock
+ - run: poetry install
- - name: Lint with Flake8
- run: |
- # stop the build if there are Python syntax errors or undefined names
- pipenv run flake8 .
+ - run: poetry run isort --check main.py slack tests typings
- # exit-zero treats all errors as warnings.
- pipenv run flake8 . --exit-zero --select=C,E,F,W
+ - run: poetry run black --check .
- - name: Check Python formatting
- run: |
- pipenv run black --check .
+ - run: poetry run pyright --pythonversion 3.7 main.py slack tests typings
- - name: python/test
- run: |
- pipenv run pytest
+ - run: poetry run pytest tests