ci(github): fix uv install
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
name: Python CI
|
||||
on: [push]
|
||||
on: [ push ]
|
||||
jobs:
|
||||
ruff:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: astral-sh/ruff-action@v3
|
||||
with:
|
||||
args: "check"
|
||||
|
||||
ruff-format-check:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -18,7 +20,7 @@ jobs:
|
||||
ty:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: python3 -m pip install uv
|
||||
- run: python3 -m pip install uv --break-system-packages
|
||||
- uses: actions/checkout@v5
|
||||
- run: python3 -m uv sync
|
||||
- run: python3 -m uv run ty check --output-format github
|
||||
@@ -26,7 +28,7 @@ jobs:
|
||||
coverage:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: python3 -m pip install uv
|
||||
- run: python3 -m pip install uv --break-system-packages
|
||||
- uses: actions/checkout@v5
|
||||
- run: python3 -m uv sync
|
||||
- run: python3 -m uv run coverage run -m unittest -v
|
||||
@@ -34,4 +36,3 @@ jobs:
|
||||
- uses: irongut/CodeCoverageSummary@v1.3.0
|
||||
with:
|
||||
filename: coverage.xml
|
||||
|
||||
|
||||
Reference in New Issue
Block a user