File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed
generate_workflows_lib/src/generate_workflows_lib Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 5252 with:
5353 python-version: "3.10"
5454
55+ {% - if job_data == "docker-tests" %}
56+ - name: Setup {{ job_data }}
57+ run: sudo apt update -y && sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 unixodbc-dev unixodbc
58+ {% - endif %}
5559 - name: Install tox
5660 run: pip install tox
5761
Original file line number Diff line number Diff line change 2727 uses : actions/setup-python@v5
2828 with :
2929 python-version : " 3.10"
30-
3130 - name : Install tox
3231 run : pip install tox
3332
4544 uses : actions/setup-python@v5
4645 with :
4746 python-version : " 3.10"
48-
47+ - name : Setup ODBC drivers
48+ run : |
49+ sudo apt update -y && sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 unixodbc-dev unixodbc
4950 - name : Install tox
5051 run : pip install tox
5152
6364 uses : actions/setup-python@v5
6465 with :
6566 python-version : " 3.10"
66-
6767 - name : Install tox
6868 run : pip install tox
6969
8181 uses : actions/setup-python@v5
8282 with :
8383 python-version : " 3.10"
84-
8584 - name : Install tox
8685 run : pip install tox
8786
@@ -105,7 +104,6 @@ jobs:
105104 uses : actions/setup-python@v5
106105 with :
107106 python-version : " 3.10"
108-
109107 - name : Install tox
110108 run : pip install tox
111109
@@ -126,7 +124,6 @@ jobs:
126124 uses : actions/setup-python@v5
127125 with :
128126 python-version : " 3.10"
129-
130127 - name : Install tox
131128 run : pip install tox
132129
Original file line number Diff line number Diff line change @@ -1286,8 +1286,6 @@ changedir =
12861286 tests/opentelemetry-docker-tests/tests
12871287
12881288commands_pre =
1289- sh -c " sudo apt update -y && sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 unixodbc-dev unixodbc"
1290- python -c " import pyodbc; print(pyodbc.drivers())"
12911289 pip install {env:CORE_REPO}\# egg=opentelemetry-api&subdirectory=opentelemetry-api \
12921290 {env:CORE_REPO}\# egg=opentelemetry-semantic-conventions&subdirectory=opentelemetry-semantic-conventions \
12931291 {env:CORE_REPO}\# egg=opentelemetry-sdk&subdirectory=opentelemetry-sdk \
You can’t perform that action at this time.
0 commit comments