Skip to content

Commit

Permalink
build: use uv
Browse files Browse the repository at this point in the history
  • Loading branch information
phil65 committed Oct 15, 2024
1 parent 679ac71 commit 9125b94
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:
uses: ts-graphviz/setup-graphviz@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install hatch
hatch env create
uv sync --all-extras
- name: Lint and typecheck
run: |
hatch run lint-check
uv run ruff check .
uv run ruff format --check .
uv run mypy mkdocs_mknodes/
- name: Test
run: |
hatch run test-cov-xml
uv run pytest --cov-report=xml
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand All @@ -51,6 +51,8 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install uv
uses: yezz123/setup-uv@v4
- name: Install dependencies
shell: bash
run: |
Expand Down

0 comments on commit 9125b94

Please sign in to comment.