Skip to content

Commit

Permalink
fix: Install deps for Pylint (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
dciborow authored Jul 4, 2023
1 parent d03c93f commit 01e81a9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,18 @@ runs:
github_token: ${{ inputs.github_token }}
workdir: ${{ inputs.root }}/${{ inputs.workdir }}

- if: ${{ inputs.pylint == 'true' }}
uses: actions/setup-python@v4
with:
python-version: ${{ inputs.python_version }}
cache: 'pip' # caching pip dependencies
- if: ${{ inputs.pytest == 'true' }}
run: |
python -m pip install --upgrade pip
python -m pip install pytest pylint
cd "${{ inputs.root }}/${{ inputs.workdir }}"
python -m flit install || python -m pip install .
- if: ${{ inputs.pylint == 'true' }}
uses: dciborow/[email protected]
with:
Expand Down

0 comments on commit 01e81a9

Please sign in to comment.