add uv.lock #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- 3.9 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
lfs: true | |
- name: Setup conda conda. | |
uses: conda-incubator/setup-miniconda@v3 | |
with: | |
conda-channels: conda-forge,bioconda | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
with: | |
# Install a specific version of uv and enable caching. | |
version: "0.5.16" | |
enable-cache: true | |
- name: Set up Python | |
run: uv python install ${{ matrix.python-version }} | |
- name: Install the project | |
run: uv sync --all-extras --dev | |
- name: Run tests | |
run: uv run pytest | |
- name: Check formatting | |
run: uv run ruff format --check | |
- name: Lint | |
run: uv run ruff check |