Skip to content

Commit

Permalink
disable py313 tests for parameter and fix django tests
Browse files Browse the repository at this point in the history
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
  • Loading branch information
emdneto committed Dec 21, 2024
1 parent bb5003e commit 880db61
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 57 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/test_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2086,24 +2086,6 @@ jobs:
- name: Run tests
run: tox -e py312-test-instrumentation-django-3 -- -ra

py313-test-instrumentation-django-1_ubuntu-latest:
name: instrumentation-django-1 3.13 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.13"

- name: Install tox
run: pip install tox

- name: Run tests
run: tox -e py313-test-instrumentation-django-1 -- -ra

py313-test-instrumentation-django-3_ubuntu-latest:
name: instrumentation-django-3 3.13 Ubuntu
runs-on: ubuntu-latest
Expand Down Expand Up @@ -4515,3 +4497,21 @@ jobs:

- name: Run tests
run: tox -e pypy3-test-instrumentation-logging -- -ra

py38-test-exporter-richconsole_ubuntu-latest:
name: exporter-richconsole 3.8 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: "3.8"

- name: Install tox
run: pip install tox

- name: Run tests
run: tox -e py38-test-exporter-richconsole -- -ra
36 changes: 18 additions & 18 deletions .github/workflows/test_1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,6 @@ env:

jobs:

py38-test-exporter-richconsole_ubuntu-latest:
name: exporter-richconsole 3.8 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: "3.8"

- name: Install tox
run: pip install tox

- name: Run tests
run: tox -e py38-test-exporter-richconsole -- -ra

py39-test-exporter-richconsole_ubuntu-latest:
name: exporter-richconsole 3.9 Ubuntu
runs-on: ubuntu-latest
Expand Down Expand Up @@ -4515,3 +4497,21 @@ jobs:

- name: Run tests
run: tox -e py38-test-instrumentation-sio-pika-1 -- -ra

py39-test-instrumentation-sio-pika-0_ubuntu-latest:
name: instrumentation-sio-pika-0 3.9 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: "3.9"

- name: Install tox
run: pip install tox

- name: Run tests
run: tox -e py39-test-instrumentation-sio-pika-0 -- -ra
18 changes: 0 additions & 18 deletions .github/workflows/test_2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,6 @@ env:

jobs:

py39-test-instrumentation-sio-pika-0_ubuntu-latest:
name: instrumentation-sio-pika-0 3.9 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: "3.9"

- name: Install tox
run: pip install tox

- name: Run tests
run: tox -e py39-test-instrumentation-sio-pika-0 -- -ra

py39-test-instrumentation-sio-pika-1_ubuntu-latest:
name: instrumentation-sio-pika-1 3.9 Ubuntu
runs-on: ubuntu-latest
Expand Down
8 changes: 5 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ envlist =
; 2: django>=4.0b1,<5.0 backports.zoneinfo==0.2.1
; 3: django>=4.0b1,<5.0
py3{8,9}-test-instrumentation-django-{0,1,2}
py3{10,11,12,13}-test-instrumentation-django-{1,3}
py3{10,11,12}-test-instrumentation-django-{1,3}
py313-test-instrumentation-django-3
pypy3-test-instrumentation-django-{0,1}
lint-instrumentation-django

Expand Down Expand Up @@ -231,7 +232,8 @@ envlist =
lint-instrumentation-pymysql

; opentelemetry-instrumentation-pyramid
py3{8,9,10,11,12,13}-test-instrumentation-pyramid
; TODO: add py313 when supported by pyramid
py3{8,9,10,11,12}-test-instrumentation-pyramid
pypy3-test-instrumentation-pyramid
lint-instrumentation-pyramid

Expand Down Expand Up @@ -508,7 +510,7 @@ deps =
py3{8,9}-test-instrumentation-django-1: -r {toxinidir}/instrumentation/opentelemetry-instrumentation-django/test-requirements-1.txt
py3{8,9}-test-instrumentation-django-2: -r {toxinidir}/instrumentation/opentelemetry-instrumentation-django/test-requirements-2.txt
py3{10,11,12}-test-instrumentation-django-1: -r {toxinidir}/instrumentation/opentelemetry-instrumentation-django/test-requirements-1.txt
py3{10,11,12}-test-instrumentation-django-3: -r {toxinidir}/instrumentation/opentelemetry-instrumentation-django/test-requirements-3.txt
py3{10,11,12,13}-test-instrumentation-django-3: -r {toxinidir}/instrumentation/opentelemetry-instrumentation-django/test-requirements-3.txt
pypy3-test-instrumentation-django-0: -r {toxinidir}/instrumentation/opentelemetry-instrumentation-django/test-requirements-0.txt
pypy3-test-instrumentation-django-1: -r {toxinidir}/instrumentation/opentelemetry-instrumentation-django/test-requirements-1.txt
lint-instrumentation-django: -r {toxinidir}/instrumentation/opentelemetry-instrumentation-django/test-requirements-3.txt
Expand Down

0 comments on commit 880db61

Please sign in to comment.