Skip to content

[ports] Add tests for including subtrees in other files #255

[ports] Add tests for including subtrees in other files

[ports] Add tests for including subtrees in other files #255

Workflow file for this run

name: pre-merge
on:
pull_request:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Install dependencies
run: uv sync
- name: Ruff (format)
run: uv run ruff format --check
- name: Ruff (lint)
run: uv run ruff check
- name: ty (type check)
run: uv run ty check
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.12", "3.14"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Install dependencies
run: uv sync --python ${{ matrix.python-version }}
- name: Pytest
run: uv run --python ${{ matrix.python-version }} pytest -s --cov=py_trees tests/