FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(util): acquire Windows locks without following symlinks · gitpython-developers/GitPython@97a5468 · GitHub

Repository navigation

fix(util): create lock files in one exclusive step #332

fix(util): create lock files in one exclusive step

fix(util): create lock files in one exclusive step #332

Workflow file for this run

This file contains hidden or 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: Dependency packages
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
project: [smmap, gitdb]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.13t"]
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install test dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest flake8 ./smmap
if test "${{ matrix.project }}" = gitdb; then python -m pip install ./gitdb; fi
- name: Lint
run: flake8 "${{ matrix.project }}/${{ matrix.project }}" --count --select=E9,F63,F7,F82 --show-source --statistics
- name: Test
run: |
if test "${{ matrix.project }}" = gitdb; then
GITDB_TEST_GIT_REPO_BASE="$(git rev-parse --git-common-dir)" pytest -o addopts= -v gitdb/gitdb/test
else
pytest -o addopts= -v smmap/smmap/test
fi
uv-sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- name: Install uv
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
with:
enable-cache: false
version: "0.12.13" # Released on 2026-09-10
# Ensure that dependencies and dependency groups are consistent and resolvable.
- run: uv sync --all-extras --all-groups --dry-run

Back | FazBrowse Home | New Git URL