Skip to content

Commit 866c219

Browse files
committed
add github actions workflows for valkey
1 parent 4ac33b8 commit 866c219

File tree

3 files changed

+174
-0
lines changed

3 files changed

+174
-0
lines changed

.github/workflows/core_contrib_test_0.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1630,6 +1630,29 @@ jobs:
16301630
- name: Run tests
16311631
run: tox -e py38-test-instrumentation-redis -- -ra
16321632

1633+
py38-test-instrumentation-valkey:
1634+
name: instrumentation-valkey
1635+
runs-on: ubuntu-latest
1636+
timeout-minutes: 30
1637+
steps:
1638+
- name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }}
1639+
uses: actions/checkout@v4
1640+
with:
1641+
repository: open-telemetry/opentelemetry-python-contrib
1642+
ref: ${{ env.CONTRIB_REPO_SHA }}
1643+
1644+
- name: Set up Python 3.8
1645+
uses: actions/setup-python@v5
1646+
with:
1647+
python-version: "3.8"
1648+
architecture: "x64"
1649+
1650+
- name: Install tox
1651+
run: pip install tox-uv
1652+
1653+
- name: Run tests
1654+
run: tox -e py38-test-instrumentation-valkey -- -ra
1655+
16331656
py38-test-instrumentation-remoulade:
16341657
name: instrumentation-remoulade
16351658
runs-on: ubuntu-latest

.github/workflows/lint_0.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -920,6 +920,24 @@ jobs:
920920

921921
- name: Run tests
922922
run: tox -e lint-instrumentation-redis
923+
lint-instrumentation-valkey:
924+
name: instrumentation-valkey
925+
runs-on: ubuntu-latest
926+
timeout-minutes: 30
927+
steps:
928+
- name: Checkout repo @ SHA - ${{ github.sha }}
929+
uses: actions/checkout@v4
930+
931+
- name: Set up Python 3.13
932+
uses: actions/setup-python@v5
933+
with:
934+
python-version: "3.13"
935+
936+
- name: Install tox
937+
run: pip install tox-uv
938+
939+
- name: Run tests
940+
run: tox -e lint-instrumentation-valkey
923941

924942
lint-instrumentation-remoulade:
925943
name: instrumentation-remoulade

.github/workflows/test_1.yml

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4303,6 +4303,139 @@ jobs:
43034303
- name: Run tests
43044304
run: tox -e pypy3-test-instrumentation-redis -- -ra
43054305

4306+
py38-test-instrumentation-valkey_ubuntu-latest:
4307+
name: instrumentation-valkey 3.8 Ubuntu
4308+
runs-on: ubuntu-latest
4309+
timeout-minutes: 30
4310+
steps:
4311+
- name: Checkout repo @ SHA - ${{ github.sha }}
4312+
uses: actions/checkout@v4
4313+
4314+
- name: Set up Python 3.8
4315+
uses: actions/setup-python@v5
4316+
with:
4317+
python-version: "3.8"
4318+
4319+
- name: Install tox
4320+
run: pip install tox-uv
4321+
4322+
- name: Run tests
4323+
run: tox -e py38-test-instrumentation-valkey -- -ra
4324+
4325+
py39-test-instrumentation-valkey_ubuntu-latest:
4326+
name: instrumentation-valkey 3.9 Ubuntu
4327+
runs-on: ubuntu-latest
4328+
timeout-minutes: 30
4329+
steps:
4330+
- name: Checkout repo @ SHA - ${{ github.sha }}
4331+
uses: actions/checkout@v4
4332+
4333+
- name: Set up Python 3.9
4334+
uses: actions/setup-python@v5
4335+
with:
4336+
python-version: "3.9"
4337+
4338+
- name: Install tox
4339+
run: pip install tox-uv
4340+
4341+
- name: Run tests
4342+
run: tox -e py39-test-instrumentation-valkey -- -ra
4343+
4344+
py310-test-instrumentation-valkey_ubuntu-latest:
4345+
name: instrumentation-valkey 3.10 Ubuntu
4346+
runs-on: ubuntu-latest
4347+
timeout-minutes: 30
4348+
steps:
4349+
- name: Checkout repo @ SHA - ${{ github.sha }}
4350+
uses: actions/checkout@v4
4351+
4352+
- name: Set up Python 3.10
4353+
uses: actions/setup-python@v5
4354+
with:
4355+
python-version: "3.10"
4356+
4357+
- name: Install tox
4358+
run: pip install tox-uv
4359+
4360+
- name: Run tests
4361+
run: tox -e py310-test-instrumentation-valkey -- -ra
4362+
4363+
py311-test-instrumentation-valkey_ubuntu-latest:
4364+
name: instrumentation-valkey 3.11 Ubuntu
4365+
runs-on: ubuntu-latest
4366+
timeout-minutes: 30
4367+
steps:
4368+
- name: Checkout repo @ SHA - ${{ github.sha }}
4369+
uses: actions/checkout@v4
4370+
4371+
- name: Set up Python 3.11
4372+
uses: actions/setup-python@v5
4373+
with:
4374+
python-version: "3.11"
4375+
4376+
- name: Install tox
4377+
run: pip install tox-uv
4378+
4379+
- name: Run tests
4380+
run: tox -e py311-test-instrumentation-valkey -- -ra
4381+
4382+
py312-test-instrumentation-valkey_ubuntu-latest:
4383+
name: instrumentation-valkey 3.12 Ubuntu
4384+
runs-on: ubuntu-latest
4385+
timeout-minutes: 30
4386+
steps:
4387+
- name: Checkout repo @ SHA - ${{ github.sha }}
4388+
uses: actions/checkout@v4
4389+
4390+
- name: Set up Python 3.12
4391+
uses: actions/setup-python@v5
4392+
with:
4393+
python-version: "3.12"
4394+
4395+
- name: Install tox
4396+
run: pip install tox-uv
4397+
4398+
- name: Run tests
4399+
run: tox -e py312-test-instrumentation-valkey -- -ra
4400+
4401+
py313-test-instrumentation-valkey_ubuntu-latest:
4402+
name: instrumentation-valkey 3.13 Ubuntu
4403+
runs-on: ubuntu-latest
4404+
timeout-minutes: 30
4405+
steps:
4406+
- name: Checkout repo @ SHA - ${{ github.sha }}
4407+
uses: actions/checkout@v4
4408+
4409+
- name: Set up Python 3.13
4410+
uses: actions/setup-python@v5
4411+
with:
4412+
python-version: "3.13"
4413+
4414+
- name: Install tox
4415+
run: pip install tox-uv
4416+
4417+
- name: Run tests
4418+
run: tox -e py313-test-instrumentation-valkey -- -ra
4419+
4420+
pypy3-test-instrumentation-valkey_ubuntu-latest:
4421+
name: instrumentation-valkey pypy-3.8 Ubuntu
4422+
runs-on: ubuntu-latest
4423+
timeout-minutes: 30
4424+
steps:
4425+
- name: Checkout repo @ SHA - ${{ github.sha }}
4426+
uses: actions/checkout@v4
4427+
4428+
- name: Set up Python pypy-3.8
4429+
uses: actions/setup-python@v5
4430+
with:
4431+
python-version: "pypy-3.8"
4432+
4433+
- name: Install tox
4434+
run: pip install tox-uv
4435+
4436+
- name: Run tests
4437+
run: tox -e pypy3-test-instrumentation-valkey -- -ra
4438+
43064439
py38-test-instrumentation-remoulade_ubuntu-latest:
43074440
name: instrumentation-remoulade 3.8 Ubuntu
43084441
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)