Skip to content

Fix minor uv version in test workflow #3

Fix minor uv version in test workflow

Fix minor uv version in test workflow #3

Workflow file for this run

name: install-and-test-workflow
on: [push]
jobs:
install-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv and set the python version
uses: astral-sh/setup-uv@v5
with:
version: 0.7.x
python-version: 3.12
- name: Install dependencies
run: |
uv sync --all-extras
- name: Test with pytest
run: |
uv run --with coverage coverage run -m pytest -sv
- name: Submit to coveralls
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
uv run --with coveralls coveralls --service=github
ruff-linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/ruff-action@v3
- run: ruff check .
# Uncomment the following line to enable format check
# - run: ruff format --check .