Skip to content

Commit bc1b1cb

Browse files
committed
fix lint errors and regenerate workflows
1 parent 5aea57d commit bc1b1cb

File tree

10 files changed

+597
-246
lines changed

10 files changed

+597
-246
lines changed

.github/workflows/lint_0.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,25 @@ jobs:
240240
- name: Run tests
241241
run: tox -e lint-opentelemetry-exporter-otlp-proto-common
242242

243+
lint-opentelemetry-exporter-otlp-json-common:
244+
name: opentelemetry-exporter-otlp-json-common
245+
runs-on: ubuntu-latest
246+
timeout-minutes: 30
247+
steps:
248+
- name: Checkout repo @ SHA - ${{ github.sha }}
249+
uses: actions/checkout@v4
250+
251+
- name: Set up Python 3.14
252+
uses: actions/setup-python@v5
253+
with:
254+
python-version: "3.14"
255+
256+
- name: Install tox
257+
run: pip install tox-uv
258+
259+
- name: Run tests
260+
run: tox -e lint-opentelemetry-exporter-otlp-json-common
261+
243262
lint-opentelemetry-exporter-otlp-combined:
244263
name: opentelemetry-exporter-otlp-combined
245264
runs-on: ubuntu-latest

.github/workflows/test_0.yml

Lines changed: 152 additions & 196 deletions
Original file line numberDiff line numberDiff line change
@@ -1902,6 +1902,158 @@ jobs:
19021902
- name: Run tests
19031903
run: tox -e pypy3-test-opentelemetry-exporter-otlp-proto-common -- -ra
19041904

1905+
py39-test-opentelemetry-exporter-otlp-json-common_ubuntu-latest:
1906+
name: opentelemetry-exporter-otlp-json-common 3.9 Ubuntu
1907+
runs-on: ubuntu-latest
1908+
timeout-minutes: 30
1909+
steps:
1910+
- name: Checkout repo @ SHA - ${{ github.sha }}
1911+
uses: actions/checkout@v4
1912+
1913+
- name: Set up Python 3.9
1914+
uses: actions/setup-python@v5
1915+
with:
1916+
python-version: "3.9"
1917+
1918+
- name: Install tox
1919+
run: pip install tox-uv
1920+
1921+
- name: Run tests
1922+
run: tox -e py39-test-opentelemetry-exporter-otlp-json-common -- -ra
1923+
1924+
py310-test-opentelemetry-exporter-otlp-json-common_ubuntu-latest:
1925+
name: opentelemetry-exporter-otlp-json-common 3.10 Ubuntu
1926+
runs-on: ubuntu-latest
1927+
timeout-minutes: 30
1928+
steps:
1929+
- name: Checkout repo @ SHA - ${{ github.sha }}
1930+
uses: actions/checkout@v4
1931+
1932+
- name: Set up Python 3.10
1933+
uses: actions/setup-python@v5
1934+
with:
1935+
python-version: "3.10"
1936+
1937+
- name: Install tox
1938+
run: pip install tox-uv
1939+
1940+
- name: Run tests
1941+
run: tox -e py310-test-opentelemetry-exporter-otlp-json-common -- -ra
1942+
1943+
py311-test-opentelemetry-exporter-otlp-json-common_ubuntu-latest:
1944+
name: opentelemetry-exporter-otlp-json-common 3.11 Ubuntu
1945+
runs-on: ubuntu-latest
1946+
timeout-minutes: 30
1947+
steps:
1948+
- name: Checkout repo @ SHA - ${{ github.sha }}
1949+
uses: actions/checkout@v4
1950+
1951+
- name: Set up Python 3.11
1952+
uses: actions/setup-python@v5
1953+
with:
1954+
python-version: "3.11"
1955+
1956+
- name: Install tox
1957+
run: pip install tox-uv
1958+
1959+
- name: Run tests
1960+
run: tox -e py311-test-opentelemetry-exporter-otlp-json-common -- -ra
1961+
1962+
py312-test-opentelemetry-exporter-otlp-json-common_ubuntu-latest:
1963+
name: opentelemetry-exporter-otlp-json-common 3.12 Ubuntu
1964+
runs-on: ubuntu-latest
1965+
timeout-minutes: 30
1966+
steps:
1967+
- name: Checkout repo @ SHA - ${{ github.sha }}
1968+
uses: actions/checkout@v4
1969+
1970+
- name: Set up Python 3.12
1971+
uses: actions/setup-python@v5
1972+
with:
1973+
python-version: "3.12"
1974+
1975+
- name: Install tox
1976+
run: pip install tox-uv
1977+
1978+
- name: Run tests
1979+
run: tox -e py312-test-opentelemetry-exporter-otlp-json-common -- -ra
1980+
1981+
py313-test-opentelemetry-exporter-otlp-json-common_ubuntu-latest:
1982+
name: opentelemetry-exporter-otlp-json-common 3.13 Ubuntu
1983+
runs-on: ubuntu-latest
1984+
timeout-minutes: 30
1985+
steps:
1986+
- name: Checkout repo @ SHA - ${{ github.sha }}
1987+
uses: actions/checkout@v4
1988+
1989+
- name: Set up Python 3.13
1990+
uses: actions/setup-python@v5
1991+
with:
1992+
python-version: "3.13"
1993+
1994+
- name: Install tox
1995+
run: pip install tox-uv
1996+
1997+
- name: Run tests
1998+
run: tox -e py313-test-opentelemetry-exporter-otlp-json-common -- -ra
1999+
2000+
py314-test-opentelemetry-exporter-otlp-json-common_ubuntu-latest:
2001+
name: opentelemetry-exporter-otlp-json-common 3.14 Ubuntu
2002+
runs-on: ubuntu-latest
2003+
timeout-minutes: 30
2004+
steps:
2005+
- name: Checkout repo @ SHA - ${{ github.sha }}
2006+
uses: actions/checkout@v4
2007+
2008+
- name: Set up Python 3.14
2009+
uses: actions/setup-python@v5
2010+
with:
2011+
python-version: "3.14"
2012+
2013+
- name: Install tox
2014+
run: pip install tox-uv
2015+
2016+
- name: Run tests
2017+
run: tox -e py314-test-opentelemetry-exporter-otlp-json-common -- -ra
2018+
2019+
py314t-test-opentelemetry-exporter-otlp-json-common_ubuntu-latest:
2020+
name: opentelemetry-exporter-otlp-json-common 3.14t Ubuntu
2021+
runs-on: ubuntu-latest
2022+
timeout-minutes: 30
2023+
steps:
2024+
- name: Checkout repo @ SHA - ${{ github.sha }}
2025+
uses: actions/checkout@v4
2026+
2027+
- name: Set up Python 3.14t
2028+
uses: actions/setup-python@v5
2029+
with:
2030+
python-version: "3.14t"
2031+
2032+
- name: Install tox
2033+
run: pip install tox-uv
2034+
2035+
- name: Run tests
2036+
run: tox -e py314t-test-opentelemetry-exporter-otlp-json-common -- -ra
2037+
2038+
pypy3-test-opentelemetry-exporter-otlp-json-common_ubuntu-latest:
2039+
name: opentelemetry-exporter-otlp-json-common pypy-3.9 Ubuntu
2040+
runs-on: ubuntu-latest
2041+
timeout-minutes: 30
2042+
steps:
2043+
- name: Checkout repo @ SHA - ${{ github.sha }}
2044+
uses: actions/checkout@v4
2045+
2046+
- name: Set up Python pypy-3.9
2047+
uses: actions/setup-python@v5
2048+
with:
2049+
python-version: "pypy-3.9"
2050+
2051+
- name: Install tox
2052+
run: pip install tox-uv
2053+
2054+
- name: Run tests
2055+
run: tox -e pypy3-test-opentelemetry-exporter-otlp-json-common -- -ra
2056+
19052057
py39-test-opentelemetry-exporter-otlp-combined_ubuntu-latest:
19062058
name: opentelemetry-exporter-otlp-combined 3.9 Ubuntu
19072059
runs-on: ubuntu-latest
@@ -4817,199 +4969,3 @@ jobs:
48174969

48184970
- name: Run tests
48194971
run: tox -e py310-test-opentelemetry-getting-started -- -ra
4820-
4821-
py311-test-opentelemetry-getting-started_windows-latest:
4822-
name: opentelemetry-getting-started 3.11 Windows
4823-
runs-on: windows-latest
4824-
timeout-minutes: 30
4825-
steps:
4826-
- name: Configure git to support long filenames
4827-
run: git config --system core.longpaths true
4828-
- name: Checkout repo @ SHA - ${{ github.sha }}
4829-
uses: actions/checkout@v4
4830-
4831-
- name: Checkout contrib repo @ ${{ env.CONTRIB_REPO_SHA }}
4832-
uses: actions/checkout@v4
4833-
with:
4834-
repository: open-telemetry/opentelemetry-python-contrib
4835-
ref: ${{ env.CONTRIB_REPO_SHA }}
4836-
path: opentelemetry-python-contrib
4837-
4838-
- name: Set up Python 3.11
4839-
uses: actions/setup-python@v5
4840-
with:
4841-
python-version: "3.11"
4842-
4843-
- name: Install tox
4844-
run: pip install tox-uv
4845-
4846-
- name: Run tests
4847-
run: tox -e py311-test-opentelemetry-getting-started -- -ra
4848-
4849-
py312-test-opentelemetry-getting-started_windows-latest:
4850-
name: opentelemetry-getting-started 3.12 Windows
4851-
runs-on: windows-latest
4852-
timeout-minutes: 30
4853-
steps:
4854-
- name: Configure git to support long filenames
4855-
run: git config --system core.longpaths true
4856-
- name: Checkout repo @ SHA - ${{ github.sha }}
4857-
uses: actions/checkout@v4
4858-
4859-
- name: Checkout contrib repo @ ${{ env.CONTRIB_REPO_SHA }}
4860-
uses: actions/checkout@v4
4861-
with:
4862-
repository: open-telemetry/opentelemetry-python-contrib
4863-
ref: ${{ env.CONTRIB_REPO_SHA }}
4864-
path: opentelemetry-python-contrib
4865-
4866-
- name: Set up Python 3.12
4867-
uses: actions/setup-python@v5
4868-
with:
4869-
python-version: "3.12"
4870-
4871-
- name: Install tox
4872-
run: pip install tox-uv
4873-
4874-
- name: Run tests
4875-
run: tox -e py312-test-opentelemetry-getting-started -- -ra
4876-
4877-
py313-test-opentelemetry-getting-started_windows-latest:
4878-
name: opentelemetry-getting-started 3.13 Windows
4879-
runs-on: windows-latest
4880-
timeout-minutes: 30
4881-
steps:
4882-
- name: Configure git to support long filenames
4883-
run: git config --system core.longpaths true
4884-
- name: Checkout repo @ SHA - ${{ github.sha }}
4885-
uses: actions/checkout@v4
4886-
4887-
- name: Checkout contrib repo @ ${{ env.CONTRIB_REPO_SHA }}
4888-
uses: actions/checkout@v4
4889-
with:
4890-
repository: open-telemetry/opentelemetry-python-contrib
4891-
ref: ${{ env.CONTRIB_REPO_SHA }}
4892-
path: opentelemetry-python-contrib
4893-
4894-
- name: Set up Python 3.13
4895-
uses: actions/setup-python@v5
4896-
with:
4897-
python-version: "3.13"
4898-
4899-
- name: Install tox
4900-
run: pip install tox-uv
4901-
4902-
- name: Run tests
4903-
run: tox -e py313-test-opentelemetry-getting-started -- -ra
4904-
4905-
py314-test-opentelemetry-getting-started_windows-latest:
4906-
name: opentelemetry-getting-started 3.14 Windows
4907-
runs-on: windows-latest
4908-
timeout-minutes: 30
4909-
steps:
4910-
- name: Configure git to support long filenames
4911-
run: git config --system core.longpaths true
4912-
- name: Checkout repo @ SHA - ${{ github.sha }}
4913-
uses: actions/checkout@v4
4914-
4915-
- name: Checkout contrib repo @ ${{ env.CONTRIB_REPO_SHA }}
4916-
uses: actions/checkout@v4
4917-
with:
4918-
repository: open-telemetry/opentelemetry-python-contrib
4919-
ref: ${{ env.CONTRIB_REPO_SHA }}
4920-
path: opentelemetry-python-contrib
4921-
4922-
- name: Set up Python 3.14
4923-
uses: actions/setup-python@v5
4924-
with:
4925-
python-version: "3.14"
4926-
4927-
- name: Install tox
4928-
run: pip install tox-uv
4929-
4930-
- name: Run tests
4931-
run: tox -e py314-test-opentelemetry-getting-started -- -ra
4932-
4933-
py39-test-opentelemetry-opentracing-shim_windows-latest:
4934-
name: opentelemetry-opentracing-shim 3.9 Windows
4935-
runs-on: windows-latest
4936-
timeout-minutes: 30
4937-
steps:
4938-
- name: Configure git to support long filenames
4939-
run: git config --system core.longpaths true
4940-
- name: Checkout repo @ SHA - ${{ github.sha }}
4941-
uses: actions/checkout@v4
4942-
4943-
- name: Set up Python 3.9
4944-
uses: actions/setup-python@v5
4945-
with:
4946-
python-version: "3.9"
4947-
4948-
- name: Install tox
4949-
run: pip install tox-uv
4950-
4951-
- name: Run tests
4952-
run: tox -e py39-test-opentelemetry-opentracing-shim -- -ra
4953-
4954-
py310-test-opentelemetry-opentracing-shim_windows-latest:
4955-
name: opentelemetry-opentracing-shim 3.10 Windows
4956-
runs-on: windows-latest
4957-
timeout-minutes: 30
4958-
steps:
4959-
- name: Configure git to support long filenames
4960-
run: git config --system core.longpaths true
4961-
- name: Checkout repo @ SHA - ${{ github.sha }}
4962-
uses: actions/checkout@v4
4963-
4964-
- name: Set up Python 3.10
4965-
uses: actions/setup-python@v5
4966-
with:
4967-
python-version: "3.10"
4968-
4969-
- name: Install tox
4970-
run: pip install tox-uv
4971-
4972-
- name: Run tests
4973-
run: tox -e py310-test-opentelemetry-opentracing-shim -- -ra
4974-
4975-
py311-test-opentelemetry-opentracing-shim_windows-latest:
4976-
name: opentelemetry-opentracing-shim 3.11 Windows
4977-
runs-on: windows-latest
4978-
timeout-minutes: 30
4979-
steps:
4980-
- name: Configure git to support long filenames
4981-
run: git config --system core.longpaths true
4982-
- name: Checkout repo @ SHA - ${{ github.sha }}
4983-
uses: actions/checkout@v4
4984-
4985-
- name: Set up Python 3.11
4986-
uses: actions/setup-python@v5
4987-
with:
4988-
python-version: "3.11"
4989-
4990-
- name: Install tox
4991-
run: pip install tox-uv
4992-
4993-
- name: Run tests
4994-
run: tox -e py311-test-opentelemetry-opentracing-shim -- -ra
4995-
4996-
py312-test-opentelemetry-opentracing-shim_windows-latest:
4997-
name: opentelemetry-opentracing-shim 3.12 Windows
4998-
runs-on: windows-latest
4999-
timeout-minutes: 30
5000-
steps:
5001-
- name: Configure git to support long filenames
5002-
run: git config --system core.longpaths true
5003-
- name: Checkout repo @ SHA - ${{ github.sha }}
5004-
uses: actions/checkout@v4
5005-
5006-
- name: Set up Python 3.12
5007-
uses: actions/setup-python@v5
5008-
with:
5009-
python-version: "3.12"
5010-
5011-
- name: Install tox
5012-
run: pip install tox-uv
5013-
5014-
- name: Run tests
5015-
run: tox -e py312-test-opentelemetry-opentracing-shim -- -ra

0 commit comments

Comments
 (0)