Skip to content

uv-ize project

uv-ize project #329

Workflow file for this run

name: Tests with faked time
on:
push:
pull_request:
env:
UV_PYTHON_PREFERENCE: only-system
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/[email protected]
- name: Setup Python
uses: actions/[email protected]
with:
python-version: "3.13"
architecture: x64
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
- name: Install dependencies
run: uv sync --no-group local --all-extras
- name: Run tests
run: faketime -f +100y uv run --offline pytest -v --no-selenium --cov-report term-missing --durations=20