Skip to content

Commit f800e97

Browse files
committed
update github workflows
1 parent f5f3e70 commit f800e97

File tree

2 files changed

+323
-0
lines changed

2 files changed

+323
-0
lines changed

.github/workflows/test.yml

Lines changed: 320 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1895,6 +1895,158 @@ jobs:
18951895
- name: Run tests
18961896
run: tox -e pypy3-test-opentelemetry-exporter-otlp-proto-common -- -ra
18971897

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

5666+
py39-test-opentelemetry-exporter-otlp-json-common_windows-latest:
5667+
name: opentelemetry-exporter-otlp-json-common 3.9 Windows
5668+
runs-on: windows-latest
5669+
timeout-minutes: 30
5670+
steps:
5671+
- name: Configure git to support long filenames
5672+
run: git config --system core.longpaths true
5673+
- name: Checkout repo @ SHA - ${{ github.sha }}
5674+
uses: actions/checkout@v4
5675+
5676+
- name: Set up Python 3.9
5677+
uses: actions/setup-python@v5
5678+
with:
5679+
python-version: "3.9"
5680+
5681+
- name: Install tox
5682+
run: pip install tox-uv
5683+
5684+
- name: Run tests
5685+
run: tox -e py39-test-opentelemetry-exporter-otlp-json-common -- -ra
5686+
5687+
py310-test-opentelemetry-exporter-otlp-json-common_windows-latest:
5688+
name: opentelemetry-exporter-otlp-json-common 3.10 Windows
5689+
runs-on: windows-latest
5690+
timeout-minutes: 30
5691+
steps:
5692+
- name: Configure git to support long filenames
5693+
run: git config --system core.longpaths true
5694+
- name: Checkout repo @ SHA - ${{ github.sha }}
5695+
uses: actions/checkout@v4
5696+
5697+
- name: Set up Python 3.10
5698+
uses: actions/setup-python@v5
5699+
with:
5700+
python-version: "3.10"
5701+
5702+
- name: Install tox
5703+
run: pip install tox-uv
5704+
5705+
- name: Run tests
5706+
run: tox -e py310-test-opentelemetry-exporter-otlp-json-common -- -ra
5707+
5708+
py311-test-opentelemetry-exporter-otlp-json-common_windows-latest:
5709+
name: opentelemetry-exporter-otlp-json-common 3.11 Windows
5710+
runs-on: windows-latest
5711+
timeout-minutes: 30
5712+
steps:
5713+
- name: Configure git to support long filenames
5714+
run: git config --system core.longpaths true
5715+
- name: Checkout repo @ SHA - ${{ github.sha }}
5716+
uses: actions/checkout@v4
5717+
5718+
- name: Set up Python 3.11
5719+
uses: actions/setup-python@v5
5720+
with:
5721+
python-version: "3.11"
5722+
5723+
- name: Install tox
5724+
run: pip install tox-uv
5725+
5726+
- name: Run tests
5727+
run: tox -e py311-test-opentelemetry-exporter-otlp-json-common -- -ra
5728+
5729+
py312-test-opentelemetry-exporter-otlp-json-common_windows-latest:
5730+
name: opentelemetry-exporter-otlp-json-common 3.12 Windows
5731+
runs-on: windows-latest
5732+
timeout-minutes: 30
5733+
steps:
5734+
- name: Configure git to support long filenames
5735+
run: git config --system core.longpaths true
5736+
- name: Checkout repo @ SHA - ${{ github.sha }}
5737+
uses: actions/checkout@v4
5738+
5739+
- name: Set up Python 3.12
5740+
uses: actions/setup-python@v5
5741+
with:
5742+
python-version: "3.12"
5743+
5744+
- name: Install tox
5745+
run: pip install tox-uv
5746+
5747+
- name: Run tests
5748+
run: tox -e py312-test-opentelemetry-exporter-otlp-json-common -- -ra
5749+
5750+
py313-test-opentelemetry-exporter-otlp-json-common_windows-latest:
5751+
name: opentelemetry-exporter-otlp-json-common 3.13 Windows
5752+
runs-on: windows-latest
5753+
timeout-minutes: 30
5754+
steps:
5755+
- name: Configure git to support long filenames
5756+
run: git config --system core.longpaths true
5757+
- name: Checkout repo @ SHA - ${{ github.sha }}
5758+
uses: actions/checkout@v4
5759+
5760+
- name: Set up Python 3.13
5761+
uses: actions/setup-python@v5
5762+
with:
5763+
python-version: "3.13"
5764+
5765+
- name: Install tox
5766+
run: pip install tox-uv
5767+
5768+
- name: Run tests
5769+
run: tox -e py313-test-opentelemetry-exporter-otlp-json-common -- -ra
5770+
5771+
py314-test-opentelemetry-exporter-otlp-json-common_windows-latest:
5772+
name: opentelemetry-exporter-otlp-json-common 3.14 Windows
5773+
runs-on: windows-latest
5774+
timeout-minutes: 30
5775+
steps:
5776+
- name: Configure git to support long filenames
5777+
run: git config --system core.longpaths true
5778+
- name: Checkout repo @ SHA - ${{ github.sha }}
5779+
uses: actions/checkout@v4
5780+
5781+
- name: Set up Python 3.14
5782+
uses: actions/setup-python@v5
5783+
with:
5784+
python-version: "3.14"
5785+
5786+
- name: Install tox
5787+
run: pip install tox-uv
5788+
5789+
- name: Run tests
5790+
run: tox -e py314-test-opentelemetry-exporter-otlp-json-common -- -ra
5791+
5792+
py314t-test-opentelemetry-exporter-otlp-json-common_windows-latest:
5793+
name: opentelemetry-exporter-otlp-json-common 3.14t Windows
5794+
runs-on: windows-latest
5795+
timeout-minutes: 30
5796+
steps:
5797+
- name: Configure git to support long filenames
5798+
run: git config --system core.longpaths true
5799+
- name: Checkout repo @ SHA - ${{ github.sha }}
5800+
uses: actions/checkout@v4
5801+
5802+
- name: Set up Python 3.14t
5803+
uses: actions/setup-python@v5
5804+
with:
5805+
python-version: "3.14t"
5806+
5807+
- name: Install tox
5808+
run: pip install tox-uv
5809+
5810+
- name: Run tests
5811+
run: tox -e py314t-test-opentelemetry-exporter-otlp-json-common -- -ra
5812+
5813+
pypy3-test-opentelemetry-exporter-otlp-json-common_windows-latest:
5814+
name: opentelemetry-exporter-otlp-json-common pypy-3.9 Windows
5815+
runs-on: windows-latest
5816+
timeout-minutes: 30
5817+
steps:
5818+
- name: Configure git to support long filenames
5819+
run: git config --system core.longpaths true
5820+
- name: Checkout repo @ SHA - ${{ github.sha }}
5821+
uses: actions/checkout@v4
5822+
5823+
- name: Set up Python pypy-3.9
5824+
uses: actions/setup-python@v5
5825+
with:
5826+
python-version: "pypy-3.9"
5827+
5828+
- name: Install tox
5829+
run: pip install tox-uv
5830+
5831+
- name: Run tests
5832+
run: tox -e pypy3-test-opentelemetry-exporter-otlp-json-common -- -ra
5833+
55145834
py39-test-opentelemetry-exporter-otlp-combined_windows-latest:
55155835
name: opentelemetry-exporter-otlp-combined 3.9 Windows
55165836
runs-on: windows-latest

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ opentelemetry-test-utils = { workspace = true }
3535
opentelemetry-exporter-otlp-proto-grpc = { workspace = true }
3636
opentelemetry-exporter-otlp-proto-http = { workspace = true }
3737
opentelemetry-exporter-otlp-proto-common = { workspace = true }
38+
opentelemetry-exporter-otlp-json-common = { workspace = true }
3839
opentelemetry-exporter-zipkin-json = { workspace = true }
3940
opentelemetry-exporter-prometheus = {workspace = true }
4041
opentelemetry-propagator-jaeger = { workspace = true }
@@ -145,6 +146,8 @@ exclude = [
145146
"opentelemetry-sdk/benchmarks",
146147
"exporter/opentelemetry-exporter-otlp-proto-grpc/tests",
147148
"exporter/opentelemetry-exporter-otlp-proto-http/tests",
149+
"exporter/opentelemetry-exporter-otlp-json-common/tests",
150+
"exporter/opentelemetry-exporter-otlp-json-common/benchmarks",
148151
]
149152

150153
# When packages are correct typed add them to the strict list

0 commit comments

Comments
 (0)