chore(deps-dev): bump the pip group across 1 directory with 2 updates #13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Linter and tests for Bitbucket Bot | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| paths: | |
| - app/** | |
| - tests/** | |
| - Pipfile* | |
| jobs: | |
| release: | |
| name: Linter and tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.x | |
| check-latest: true | |
| - name: Install pipenv | |
| run: | | |
| python -m pip install --upgrade pipenv wheel | |
| - id: cache-pipenv | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.local/share/virtualenvs | |
| key: ${{ runner.os }}-pipenv-${{ hashFiles('**/Pipfile.lock') }} | |
| - name: Install dependencies | |
| if: steps.cache-pipenv.outputs.cache-hit != 'true' | |
| run: | | |
| pipenv install --system --deploy --dev | |
| - name: pylint | |
| run: | | |
| pylint app | |
| - name: pylint | |
| run: | | |
| pytest |