|
29 | 29 | 'main' |
30 | 30 | ) || 'main' }}{% endraw %} |
31 | 31 | PIP_EXISTS_ACTION: w |
| 32 | + CONTRIB_REPO_UTIL_HTTP: ${% raw %}{{ github.workspace }}{% endraw %}/opentelemetry-python-contrib/util/opentelemetry-util-http |
| 33 | + CONTRIB_REPO_INSTRUMENTATION: ${% raw %}{{ github.workspace }}{% endraw %}/opentelemetry-python-contrib/opentelemetry-instrumentation |
| 34 | + CONTRIB_REPO_INSTRUMENTATION_REQUESTS: ${% raw %}{{ github.workspace }}{% endraw %}/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-requests |
| 35 | + CONTRIB_REPO_INSTRUMENTATION_WSGI: ${% raw %}{{ github.workspace }}{% endraw %}/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-wsgi |
| 36 | + CONTRIB_REPO_INSTRUMENTATION_FLASK: ${% raw %}{{ github.workspace }}{% endraw %}/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-flask |
32 | 37 |
|
33 | 38 | jobs: |
34 | 39 | {%- for job_data in job_datas %} |
|
38 | 43 | runs-on: {{ job_data.os }} |
39 | 44 | timeout-minutes: 30 |
40 | 45 | steps: |
| 46 | + {%- if job_data.os == "windows-latest" %} |
| 47 | + - name: Configure git to support long filenames |
| 48 | + run: git config --system core.longpaths true |
| 49 | + |
| 50 | + {%- endif %} |
41 | 51 | - name: Checkout repo @ SHA - ${% raw %}{{ github.sha }}{% endraw %} |
42 | 52 | uses: actions/checkout@v4 |
| 53 | + {%- if "getting-started" in job_data.tox_env %} |
| 54 | + |
| 55 | + - name: Checkout contrib repo @ ${% raw %}{{ env.CONTRIB_REPO_SHA }}{% endraw %} |
| 56 | + uses: actions/checkout@v4 |
| 57 | + with: |
| 58 | + repository: open-telemetry/opentelemetry-python-contrib |
| 59 | + ref: ${% raw %}{{ env.CONTRIB_REPO_SHA }}{% endraw %} |
| 60 | + path: opentelemetry-python-contrib |
| 61 | + {%- endif %} |
43 | 62 |
|
44 | 63 | - name: Set up Python {{ job_data.python_version }} |
45 | 64 | uses: actions/setup-python@v5 |
|
48 | 67 |
|
49 | 68 | - name: Install tox |
50 | 69 | run: pip install tox-uv |
51 | | - {%- if job_data.os == "windows-latest" %} |
52 | | - |
53 | | - - name: Configure git to support long filenames |
54 | | - run: git config --system core.longpaths true |
55 | | - {%- endif %} |
56 | 70 |
|
57 | 71 | - name: Run tests |
58 | 72 | run: tox -e {{ job_data.tox_env }} -- -ra |
|
0 commit comments