Skip to content

build(deps-dev): Bump certifi from 2022.12.7 to 2023.7.22 #19

build(deps-dev): Bump certifi from 2022.12.7 to 2023.7.22

build(deps-dev): Bump certifi from 2022.12.7 to 2023.7.22 #19

Workflow file for this run

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