Skip to content

fix(deps): update dependency cryptography to v46 [security] #22

fix(deps): update dependency cryptography to v46 [security]

fix(deps): update dependency cryptography to v46 [security] #22

Workflow file for this run

name: "Python tests"
on:
pull_request:
branches: ["main"]
env:
SEGMENT: loc00
DB_HOST: localhost
DB_PORT: 5432
DB_USER: postgres
DB_PASSWORD: postgres
DB_NAME: test_licensing
jobs:
pytest:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:17
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: test_licensing
ports: ["5432:5432"]
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
# Install a specific version of uv.
version: "0.6.3"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- run: uv sync --dev --frozen
- run: uv run pytest --cov bm.ucm
- uses: actions/upload-artifact@v4
if: always()
with:
name: coverage
path: htmlcov