Skip to content

Bump opentelemetry-instrumentation from 0.38b0 to 0.41b0 #431

Bump opentelemetry-instrumentation from 0.38b0 to 0.41b0

Bump opentelemetry-instrumentation from 0.38b0 to 0.41b0 #431

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python package
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.7, 3.8, 3.9, "3.10" ]
steps:
- name: Checkout lightstep/otel-launcher-python
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
pip install nox
- name: Run configuration and example tests
run: nox -s test-${{ matrix.python-version }}
- name: Run coverage test
if: matrix.python-version == 3.7
run: |
nox -s coverage
bash <(curl -s https://codecov.io/bash)
- name: Run lint
if: matrix.python-version == 3.7
run: nox -s lint
- name: Send data to OTLP backend
uses: codeboten/github-action-to-otlp@v1
with:
endpoint: "ingest.lightstep.com:443"
headers: "lightstep-access-token=${{ secrets.ACCESS_TOKEN }}"