Skip to content

Tests

Tests #16664

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
schedule:
- cron: '5 1 * * *' # every day at 01:05
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
jobs:
lint:
timeout-minutes: 10
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- uses: astral-sh/setup-uv@v4
with:
enable-cache: true
cache-dependency-glob: pyproject.toml
- run: choco install fd
- run: uv pip install charset-normalizer --system
env:
UV_LINK_MODE: ${{ runner.os == 'Windows' && 'symlink' || 'hardlink' }}
- run: fd --regex '^md.cp312-win_amd64.pyd$' --exec pwsh -command dir
working-directory: ${{ env.UV_CACHE_DIR }}
- run: fd --regex '^md.cp312-win_amd64.pyd$' | xargs rm
working-directory: ${{ env.UV_CACHE_DIR }}
shell: bash
- run: uv cache prune --ci -vv