Skip to content

feat(metadata): include many metadata accessible at global or tracer level #276

feat(metadata): include many metadata accessible at global or tracer level

feat(metadata): include many metadata accessible at global or tracer level #276

Workflow file for this run

name: Pytests
on:
pull_request:
push:
permissions:
contents: write
checks: write
pull-requests: write
jobs:
pytest:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
# "3.13" is failing at the moment because of cohere
# that pinned numpy to 1.26.4 and not compatible with Python 3.13
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
python-version: ${{ matrix.python-version }}
- name: Install all dependencies
run: uv sync --frozen --all-extras --all-groups
- name: Tests
run: |
uv run --frozen --with=coveralls coverage run --source=scope3ai -m pytest -v
uv run --frozen --with=coveralls coveralls --output=coverage.json
- name: Coveralls Parallel
uses: coverallsapp/github-action@v2
with:
file: coverage.json
flag-name: run-${{ join(matrix.*, '-') }}
parallel: true
debug: true
compare-ref: main
finish:
needs: pytest
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Report Coveralls
uses: coverallsapp/github-action@v2
with:
parallel-finished: true
carryforward: "3.12"
debug: true