finalize changelog #1591
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: Tests | |
on: | |
push: | |
pull_request: | |
env: | |
UV_SYSTEM_PYTHON: 1 | |
jobs: | |
run: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest ] | |
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] | |
django-version: [ "4.2.0", "5.0.0", "5.1.0" ] | |
cryptography-version: [ "43.0", "44.0" ] | |
pydantic-version: [ "2.9.0", "2.10.0" ] | |
exclude: | |
- python-version: 3.9 | |
django-version: 5.0.0 | |
- python-version: 3.9 | |
django-version: 5.1.0 | |
name: Python ${{ matrix.python-version }}, Django ${{ matrix.django-version }}, cryptography ${{ matrix.cryptography-version }}, pydantic ${{ matrix.pydantic-version }} | |
steps: | |
- name: Install APT dependencies | |
run: sudo apt-get install -y firefox softhsm2 | |
- name: Acquire sources | |
uses: actions/checkout@v4.1.1 | |
- name: Setup Python | |
uses: actions/setup-python@v5.0.0 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v4 | |
with: | |
enable-cache: true | |
cache-dependency-glob: "requirements.txt" | |
- name: Update setuptools/wheel | |
run: uv pip install -U setuptools wheel | |
- name: Install dependencies | |
run: uv pip install -r requirements.txt -r requirements/requirements-test.txt django~=${{ matrix.django-version }} cryptography~=${{ matrix.cryptography-version }} pydantic~=${{ matrix.pydantic-version }} | |
- name: Initialize demo | |
run: python dev.py init-demo | |
- name: Run tests | |
run: pytest -v --cov-report term-missing --durations=20 |