Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.13"]

steps:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: uv sync --all-extras --dev

- name: Run linting (ruff check)
run: uv run ruff check .
shell: bash

- name: Run type checking (mypy)
run: uv run mypy .
shell: bash
continue-on-error: true

- name: Run tests with pytest
run: uv run pytest
shell: bash
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ CyteOnto helps researchers benchmark cell type annotation algorithms by measurin
### Install
```bash
# Clone the repository
git clone <repository-url>
git clone https://github.com/NygenAnalytics/CyteOnto.git
cd CyteOnto

# Setup environment
Expand Down Expand Up @@ -149,7 +149,7 @@ We welcome contributions! Please see our contribution guidelines for details.

### Development Setup
```bash
git clone <repository-url>
git clone https://github.com/NygenAnalytics/CyteOnto.git
cd CyteOnto
uv sync --dev
```
Expand Down