File tree 4 files changed +46
-0
lines changed
4 files changed +46
-0
lines changed Original file line number Diff line number Diff line change @@ -278,6 +278,38 @@ jobs:
278
278
- store-pytest-results
279
279
- store-coverage-report
280
280
281
+ py312autowrapt :
282
+ docker :
283
+ - image : public.ecr.aws/docker/library/python:3.12
284
+ environment :
285
+ AUTOWRAPT_BOOTSTRAP : instana
286
+ working_directory : ~/repo
287
+ steps :
288
+ - checkout
289
+ - check-if-tests-needed
290
+ - pip-install-deps :
291
+ requirements : " tests/requirements-minimal.txt"
292
+ - run-tests-with-coverage-report :
293
+ tests : " tests_autowrapt"
294
+ - store-pytest-results
295
+ - store-coverage-report
296
+
297
+ py313autowrapt :
298
+ docker :
299
+ - image : public.ecr.aws/docker/library/python:3.13
300
+ environment :
301
+ AUTOWRAPT_BOOTSTRAP : instana
302
+ working_directory : ~/repo
303
+ steps :
304
+ - checkout
305
+ - check-if-tests-needed
306
+ - pip-install-deps :
307
+ requirements : " tests/requirements-minimal.txt"
308
+ - run-tests-with-coverage-report :
309
+ tests : " tests_autowrapt"
310
+ - store-pytest-results
311
+ - store-coverage-report
312
+
281
313
python313 :
282
314
docker :
283
315
- image : public.ecr.aws/docker/library/python:3.13
@@ -423,6 +455,8 @@ workflows:
423
455
- py39gevent_starlette
424
456
- py312aws
425
457
- py312kafka
458
+ - py312autowrapt
459
+ - py313autowrapt
426
460
- final_job :
427
461
requires :
428
462
- python38
@@ -436,3 +470,5 @@ workflows:
436
470
- py39cassandra
437
471
- py39gevent_starlette
438
472
- py312aws
473
+ - py312autowrapt
474
+ - py313autowrapt
Original file line number Diff line number Diff line change @@ -7,5 +7,6 @@ pythonpath = src
7
7
testpaths =
8
8
tests
9
9
tests_aws
10
+ tests_autowrapt
10
11
markers =
11
12
original: mark test to use the original method instead of the mocked ones under `conftest.py`
Original file line number Diff line number Diff line change
1
+ coverage>=5.5
2
+ pytest>=4.6
3
+ setuptools
Original file line number Diff line number Diff line change
1
+ import os
2
+ import sys
3
+
4
+ def test_autowrapt_bootstrap ():
5
+ assert os .environ .get ("AUTOWRAPT_BOOTSTRAP" ) == "instana"
6
+ assert "instana" in sys .modules
You can’t perform that action at this time.
0 commit comments