Skip to content

fix(polling_source): replace _accumulated_stream with optimistic-lock batch list (ITL-617) #887

fix(polling_source): replace _accumulated_stream with optimistic-lock batch list (ITL-617)

fix(polling_source): replace _accumulated_stream with optimistic-lock batch list (ITL-617) #887

name: Run Objective Tests
on:
push:
branches: [main, dev, extension-type-system]
pull_request:
workflow_dispatch: # Allows manual triggering
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Install uv
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: ${{ matrix.python-version }}
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y graphviz libgraphviz-dev
- name: Install dependencies
run: uv sync --locked --all-extras --dev --python ${{ matrix.python-version }}
- name: Run objective tests
run: uv run --python ${{ matrix.python-version }} pytest test-objective/ -v --cov=src --cov-report=term-missing --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
token: ${{ secrets.CODECOV_TOKEN }}