build(deps-dev): Bump certifi from 2022.12.7 to 2023.7.22 #19
Workflow file for this run
This file contains 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: Code Quality checks for PRs | |
on: | |
pull_request: | |
jobs: | |
checks: | |
name: Pre-Commit checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10.9' | |
- name: Set up cache | |
uses: actions/cache@v3 | |
with: | |
path: .venv | |
key: venv-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }} | |
- name: Install Poetry | |
run: | | |
pip install -U pip | |
pip install poetry | |
poetry config virtualenvs.in-project true | |
poetry install | |
- name: Run linting and other code quality checks | |
run: | | |
poetry run pre-commit run --all-files | |
- name: Run tests | |
run: export PYTHONPATH=$PYTHONPATH:$(pwd); poetry run pytest -c pyproject.toml | |
- name: Run security checks | |
run: | | |
poetry check | |
poetry run safety check --full-report |