feat(propagation): add DD_TRACE_PROPAGATION_BEHAVIOR_EXTRACT to handle x-org propagation #1847
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lib-injection tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test_sitecustomize: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: | |
# requires openssl 1.0, which is hard to get | |
# - "2.6" | |
# - "3.4" | |
# segfaults | |
# - 3.0" | |
# - 3.1" | |
# - "3.2" | |
# - "3.3" | |
- "2.7" | |
- "3.5" | |
- "3.6" | |
- "3.7" | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
- "3.13" | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Install pyenv | |
run: | | |
export PYENV_ROOT="${HOME}/.pyenv" | |
export PATH="${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}" | |
PYENV_GIT_TAG=main curl https://pyenv.run | bash | |
echo "PYENV_ROOT=${PYENV_ROOT}" >> $GITHUB_ENV | |
echo "PATH=${PATH}" >> $GITHUB_ENV | |
- name: Install python ${{ matrix.python }} | |
run: | | |
which pyenv | |
pyenv --version | |
pyenv install "${{ matrix.python }}" && pyenv global "${{ matrix.python }}" | |
- name: Print Python version | |
run: python --version | |
- name: Validate sitecustomize.py runs with ${{ matrix.python }} | |
run: python lib-injection/sources/sitecustomize.py |