Skip to content

Commit

Permalink
Check if lockfile is correct in actions not pre commit
Browse files Browse the repository at this point in the history
  • Loading branch information
saulshanabrook committed Oct 23, 2024
1 parent 9bb3ba6 commit 69fe305
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.py }}
- run: uv sync --extra test
- run: uv sync --extra test --frozen --locked
- run: uv run pytest --benchmark-disable -vvv
- run: uv cache prune --ci
mypy:
Expand All @@ -50,7 +50,7 @@ jobs:
with:
# Run on oldest Python version to catch more errors
python-version: "3.10"
- run: uv sync --extra test
- run: uv sync --extra test --frozen --locked
- run: make mypy
- run: make stubtest
- run: uv cache prune --ci
Expand All @@ -67,7 +67,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- run: uv sync --extra test
- run: uv sync --extra test --frozen --locked
- uses: CodSpeedHQ/action@v3
with:
token: ${{ secrets.CODSPEED_TOKEN }}
Expand All @@ -88,6 +88,6 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y graphviz
- run: uv sync --extra docs
- run: uv sync --extra docs --frozen --locked
- run: make docs
- run: uv cache prune --ci
4 changes: 0 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,3 @@ repos:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.4.25
hooks:
- id: uv-lock

0 comments on commit 69fe305

Please sign in to comment.