Skip to content

Commit

Permalink
Update check-source.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rnv812 authored May 26, 2024
1 parent 77c39d6 commit 6c776cf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/check-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:
- name: Install dependencies
run: |
curl -sSL https://install.python-poetry.org | python3 -
$HOME/.local/bin/poetry install
$HOME/.local/bin/poetry shell
export PATH=$PATH:$HOME/.local/bin/
poetry install
- name: Lint with flake8
run: |
# stop the build if source code does not folows PEP8
flake8 . --count --show-source --statistics
- name: Chekc types with mypy
poetry run flake8 . --count --show-source --statistics
- name: Check types with mypy
run: |
mypy .
poetry run mypy .
- name: Test with pytest
run: |
pytest -v
poetry run pytest -v

0 comments on commit 6c776cf

Please sign in to comment.