Skip to content

Merge branch 'release/2.1.1' #385

Merge branch 'release/2.1.1'

Merge branch 'release/2.1.1' #385

Workflow file for this run

name: Tests with faked time
on:
push:
pull_request:
env:
UV_SYSTEM_PYTHON: 1
jobs:
run:
runs-on: ubuntu-latest
name: libfaketime test
steps:
- name: Install APT dependencies
run: sudo apt-get install -y firefox softhsm2 faketime
- name: Acquire sources
uses: actions/checkout@v4.1.1
- name: Setup Python
uses: actions/setup-python@v5.0.0
with:
python-version: "3.13"
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
- name: Run tests
run: faketime -f +100y pytest -v --no-selenium --cov-report term-missing --durations=20