Skip to content

Merge pull request #66 from BioImageTools/pre-commit-ci-update-config #183

Merge pull request #66 from BioImageTools/pre-commit-ci-update-config

Merge pull request #66 from BioImageTools/pre-commit-ci-update-config #183

name: Run tests
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.11"
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --all-extras --dev
- name: Run tests
# For example, using `pytest`
run: uv run pytest