Skip to content

Fix JSON serialization when a parent span exists #82

Fix JSON serialization when a parent span exists

Fix JSON serialization when a parent span exists #82

Workflow file for this run

name: ci
on:
push:
pull_request:
jobs:
build-test-and-upload:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python 3.13
uses: actions/setup-python@v4
with:
python-version: "3.13"
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install build
pip install . # Install project dependencies
- name: Run tests
run: pytest --tb=short tests
- name: Build
run: python -m build
- name: Upload Python Package
uses: actions/upload-artifact@v4
with:
name: python-package
path: dist/*.whl
release:
if: ${{ !github.event.repository.fork && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}
needs: build-test-and-upload
permissions:
actions: write
contents: write
id-token: write
secrets: inherit
uses: ./.github/workflows/release.yml