Skip to content

Commit d23c9e6

Browse files
authored
chore: run the smoke test at the end of build_base_venvs [backport 2.21] (#12589)
## Checklist - [X] PR author has checked that all the criteria below are met - The PR description includes an overview of the change - The PR description articulates the motivation for the change - The change includes tests OR the PR description describes a testing strategy - The PR description notes risks associated with the change, if any - Newly-added code is easy to change - The change follows the [library release note guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html) - The change includes or references documentation updates if necessary - Backport labels are set (if [applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)) ## Reviewer Checklist - [x] Reviewer has checked that all the criteria below are met - Title is accurate - All changes are related to the pull request's stated goal - Avoids breaking [API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces) changes - Testing strategy adequately addresses listed risks - Newly-added code is easy to change - Release note makes sense to a user of the library - If necessary, author has acknowledged and discussed the performance implications of this PR as reported in the benchmarks PR comment - Backport labels are set in a manner that is consistent with the [release branch maintenance policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting) --------- Signed-off-by: Juanjo Alvarez <[email protected]>
1 parent 1e454f1 commit d23c9e6

File tree

9 files changed

+148
-0
lines changed

9 files changed

+148
-0
lines changed

.gitlab/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ build_base_venvs:
6565
script:
6666
- pip install riot==0.20.1
6767
- riot -P -v generate --python=$PYTHON_VERSION
68+
- echo "Running smoke tests"
69+
- riot -v run -s --python=$PYTHON_VERSION smoke_test
6870
artifacts:
6971
name: venv_$PYTHON_VERSION
7072
paths:

.riot/requirements/10e0b19.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.11
3+
# by the following command:
4+
#
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/10e0b19.in
6+
#
7+
attrs==25.1.0
8+
coverage[toml]==7.6.12
9+
hypothesis==6.45.0
10+
iniconfig==2.0.0
11+
mock==5.1.0
12+
opentracing==2.4.0
13+
packaging==24.2
14+
pluggy==1.5.0
15+
pytest==8.3.4
16+
pytest-cov==6.0.0
17+
pytest-mock==3.14.0
18+
sortedcontainers==2.4.0

.riot/requirements/164d1f0.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.10
3+
# by the following command:
4+
#
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/164d1f0.in
6+
#
7+
attrs==25.1.0
8+
coverage[toml]==7.6.12
9+
exceptiongroup==1.2.2
10+
hypothesis==6.45.0
11+
iniconfig==2.0.0
12+
mock==5.1.0
13+
opentracing==2.4.0
14+
packaging==24.2
15+
pluggy==1.5.0
16+
pytest==8.3.4
17+
pytest-cov==6.0.0
18+
pytest-mock==3.14.0
19+
sortedcontainers==2.4.0
20+
tomli==2.2.1

.riot/requirements/2377901.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.9
3+
# by the following command:
4+
#
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/2377901.in
6+
#
7+
attrs==25.1.0
8+
coverage[toml]==7.6.12
9+
exceptiongroup==1.2.2
10+
hypothesis==6.45.0
11+
iniconfig==2.0.0
12+
mock==5.1.0
13+
opentracing==2.4.0
14+
packaging==24.2
15+
pluggy==1.5.0
16+
pytest==8.3.4
17+
pytest-cov==6.0.0
18+
pytest-mock==3.14.0
19+
sortedcontainers==2.4.0
20+
tomli==2.2.1

.riot/requirements/271643d.txt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.7
3+
# by the following command:
4+
#
5+
# pip-compile --config=pyproject.toml --no-annotate --resolver=backtracking .riot/requirements/271643d.in
6+
#
7+
attrs==24.2.0
8+
coverage[toml]==7.2.7
9+
exceptiongroup==1.2.2
10+
hypothesis==6.45.0
11+
importlib-metadata==6.7.0
12+
iniconfig==2.0.0
13+
mock==5.1.0
14+
opentracing==2.4.0
15+
packaging==24.0
16+
pluggy==1.2.0
17+
pytest==7.4.4
18+
pytest-cov==4.1.0
19+
pytest-mock==3.11.1
20+
sortedcontainers==2.4.0
21+
tomli==2.0.1
22+
typing-extensions==4.7.1
23+
zipp==3.15.0

.riot/requirements/7ffd29a.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.8
3+
# by the following command:
4+
#
5+
# pip-compile --no-annotate .riot/requirements/7ffd29a.in
6+
#
7+
attrs==25.1.0
8+
coverage[toml]==7.6.1
9+
exceptiongroup==1.2.2
10+
hypothesis==6.45.0
11+
iniconfig==2.0.0
12+
mock==5.1.0
13+
opentracing==2.4.0
14+
packaging==24.2
15+
pluggy==1.5.0
16+
pytest==8.3.4
17+
pytest-cov==5.0.0
18+
pytest-mock==3.14.0
19+
sortedcontainers==2.4.0
20+
tomli==2.2.1

.riot/requirements/872f397.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.13
3+
# by the following command:
4+
#
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/872f397.in
6+
#
7+
attrs==25.1.0
8+
coverage[toml]==7.6.12
9+
hypothesis==6.45.0
10+
iniconfig==2.0.0
11+
mock==5.1.0
12+
opentracing==2.4.0
13+
packaging==24.2
14+
pluggy==1.5.0
15+
pytest==8.3.4
16+
pytest-cov==6.0.0
17+
pytest-mock==3.14.0
18+
sortedcontainers==2.4.0

.riot/requirements/fc72580.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.12
3+
# by the following command:
4+
#
5+
# pip-compile --no-annotate .riot/requirements/fc72580.in
6+
#
7+
attrs==25.1.0
8+
coverage[toml]==7.6.12
9+
hypothesis==6.45.0
10+
iniconfig==2.0.0
11+
mock==5.1.0
12+
opentracing==2.4.0
13+
packaging==24.2
14+
pluggy==1.5.0
15+
pytest==8.3.4
16+
pytest-cov==6.0.0
17+
pytest-mock==3.14.0
18+
sortedcontainers==2.4.0

riotfile.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,15 @@ def select_pys(min_version: str = MIN_PYTHON_VERSION, max_version: str = MAX_PYT
476476
)
477477
],
478478
),
479+
Venv(
480+
name="smoke_test",
481+
command="python tests/smoke_test.py {cmdargs}",
482+
venvs=[
483+
Venv(
484+
pys=select_pys(),
485+
)
486+
],
487+
),
479488
Venv(
480489
name="ddtracerun",
481490
command="pytest {cmdargs} --no-cov tests/commands/test_runner.py",

0 commit comments

Comments
 (0)