Skip to content

chore: attempt to fix windows ci for uv #61

chore: attempt to fix windows ci for uv

chore: attempt to fix windows ci for uv #61

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: linux
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
# Install a specific version of uv.
version: "0.4.18"
- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- name: Install the project
run: uv sync --all-extras --dev
- name: Install dependencies
run: |
uv pip install codecov
uv pip freeze
- name: Lint with ruff
run: |
uv run ruff check
- name: Test with pytest
run: |
uv run pytest
- name: Upload coverage results
run: |
uv run codecov