Skip to content

docs: fix create issue screen: rename config.yaml -> yml (#11816) #28146

docs: fix create issue screen: rename config.yaml -> yml (#11816)

docs: fix create issue screen: rename config.yaml -> yml (#11816) #28146

name: encoders-profile
on:
push:
branches:
- main
- 'mq-working-branch**'
pull_request:
paths:
- 'ddtrace/internal/_encoding.pyx'
- 'scripts/profiles/encoders/**'
- '.github/workflows/encoders-profile.yml'
jobs:
encoders-profile:
runs-on: ubuntu-latest
env:
PREFIX: ${{ github.workspace }}/prefix
defaults:
run:
working-directory: ddtrace
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
path: ddtrace
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Setup
run: |
bash scripts/profiles/encoders/setup.sh ${PREFIX}
- name: Run
run: |
bash scripts/profiles/encoders/run.sh ${PREFIX}
for a in `ls ${PREFIX}/artifacts`
do
sed -i 's|${{ github.workspace }}/ddtrace/||g' ${PREFIX}/artifacts/$a
done
- uses: actions/upload-artifact@v4
with:
name: encoders-profile
path: ${{ github.workspace }}/prefix/artifacts