Skip to content

Commit

Permalink
fix: install flake8 in release-please
Browse files Browse the repository at this point in the history
  • Loading branch information
NishaSharma14 committed Aug 3, 2023
1 parent 7704bee commit 45ff613
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
- name: Analysing the code with pylint
run: |
flake8 --per-file-ignores="__init__.py:F401" --ignore E402,E501,W503 $(git ls-files '*.py') .
- name: Run test
run: |
python3 -m pytest -p no:warnings
# - name: Run test
# run: |
# python3 -m pytest -p no:warnings

release-please:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 45ff613

Please sign in to comment.