Skip to content

Commit

Permalink
remove apt commands from tox ini
Browse files Browse the repository at this point in the history
Signed-off-by: emdneto <[email protected]>
  • Loading branch information
emdneto committed Oct 15, 2024
1 parent d0afb43 commit ea51fc4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ jobs:
with:
python-version: "3.10"

{%- if job_data == "docker-tests" %}
- name: Setup {{ job_data }}
run: sudo apt update -y && sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 unixodbc-dev unixodbc
{%- endif %}
- name: Install tox
run: pip install tox

Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/misc_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install tox
run: pip install tox

Expand All @@ -45,7 +44,9 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Setup ODBC drivers
run: |
sudo apt update -y && sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 unixodbc-dev unixodbc
- name: Install tox
run: pip install tox

Expand All @@ -63,7 +64,6 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install tox
run: pip install tox

Expand All @@ -81,7 +81,6 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install tox
run: pip install tox

Expand All @@ -105,7 +104,6 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install tox
run: pip install tox

Expand All @@ -126,7 +124,6 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install tox
run: pip install tox

Expand Down
2 changes: 0 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1286,8 +1286,6 @@ changedir =
tests/opentelemetry-docker-tests/tests

commands_pre =
sh -c "sudo apt update -y && sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 unixodbc-dev unixodbc"
python -c "import pyodbc; print(pyodbc.drivers())"
pip install {env:CORE_REPO}\#egg=opentelemetry-api&subdirectory=opentelemetry-api \
{env:CORE_REPO}\#egg=opentelemetry-semantic-conventions&subdirectory=opentelemetry-semantic-conventions \
{env:CORE_REPO}\#egg=opentelemetry-sdk&subdirectory=opentelemetry-sdk \
Expand Down

0 comments on commit ea51fc4

Please sign in to comment.