Skip to content

Commit 251e27d

Browse files
authored
Add decorator for Sentry tracing (#1089)
* Add decorator for Sentry tracing --------- Co-authored-by: Anton Pirker <[email protected]> Co-authored-by: Daniel Griesser <[email protected]>
1 parent e952020 commit 251e27d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+399
-79
lines changed

.github/workflows/test-common.yml

+27-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test Common
1+
name: Test common
22

33
on:
44
push:
@@ -8,6 +8,12 @@ on:
88

99
pull_request:
1010

11+
# Cancel in progress workflows on pull_requests.
12+
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
15+
cancel-in-progress: true
16+
1117
permissions:
1218
contents: read
1319

@@ -18,18 +24,20 @@ env:
1824
1925
jobs:
2026
test:
21-
name: Test Python ${{ matrix.python-version }}, ${{ matrix.os }}
27+
name: common, python ${{ matrix.python-version }}, ${{ matrix.os }}
2228
runs-on: ${{ matrix.os }}
2329
timeout-minutes: 45
24-
continue-on-error: true
30+
2531
strategy:
32+
fail-fast: false
2633
matrix:
34+
python-version: ["2.7","3.5","3.6","3.7","3.8","3.9","3.10","3.11"]
2735
# python3.6 reached EOL and is no longer being supported on
2836
# new versions of hosted runners on Github Actions
2937
# ubuntu-20.04 is the last version that supported python3.6
3038
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
3139
os: [ubuntu-20.04]
32-
python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
40+
3341
steps:
3442
- uses: actions/checkout@v3
3543
- uses: actions/setup-python@v4
@@ -38,16 +46,28 @@ jobs:
3846

3947
- name: Setup Test Env
4048
run: |
41-
pip install codecov tox
49+
pip install codecov "tox>=3,<4"
4250
43-
- name: Run Tests
51+
- name: Test common
4452
timeout-minutes: 45
4553
shell: bash
4654
run: |
4755
set -x # print commands that are executed
4856
coverage erase
4957
50-
./scripts/runtox.sh "py${{ matrix.python-version }}$" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch --ignore=tests/integrations
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-common" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5159
coverage combine .coverage*
5260
coverage xml -i
5361
codecov --file coverage.xml
62+
63+
check_required_tests:
64+
name: All common tests passed or skipped
65+
needs: test
66+
# Always run this, even if a dependent job failed
67+
if: always()
68+
runs-on: ubuntu-20.04
69+
steps:
70+
- name: Check for failures
71+
if: contains(needs.test.result, 'failure')
72+
run: |
73+
echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1

.github/workflows/test-integration-aiohttp.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-aiohttp" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-aiohttp" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-arq.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-arq" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-arq" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-asgi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-asgi" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-asgi" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-aws_lambda.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-aws_lambda" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-aws_lambda" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-beam.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-beam" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-beam" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-boto3.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-boto3" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-boto3" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-bottle.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-bottle" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-bottle" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-celery.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-celery" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-celery" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-chalice.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-chalice" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-chalice" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-cloud_resource_context.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-cloud_resource_context" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-cloud_resource_context" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-django.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
set -x # print commands that are executed
7474
coverage erase
7575
76-
./scripts/runtox.sh "${{ matrix.python-version }}-django" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
76+
./scripts/runtox.sh "py${{ matrix.python-version }}-django" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
7777
coverage combine .coverage*
7878
coverage xml -i
7979
codecov --file coverage.xml

.github/workflows/test-integration-falcon.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-falcon" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-falcon" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-fastapi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-fastapi" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-fastapi" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-flask.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-flask" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-flask" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-gcp.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-gcp" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-gcp" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-gevent.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-gevent" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-gevent" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-httpx.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-httpx" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-httpx" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-huey.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-huey" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-huey" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-opentelemetry.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-opentelemetry" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-opentelemetry" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-pure_eval.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-pure_eval" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-pure_eval" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-pymongo.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-pymongo" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-pymongo" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-pyramid.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-pyramid" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-pyramid" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-quart.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-quart" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-quart" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-redis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-redis" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-redis" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-rediscluster.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-rediscluster" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-rediscluster" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-requests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-requests" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-requests" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-rq.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-rq" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-rq" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-sanic.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-sanic" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-sanic" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-sqlalchemy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-sqlalchemy" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-sqlalchemy" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-starlette.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-starlette" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-starlette" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-starlite.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-starlite" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-starlite" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-tornado.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-tornado" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-tornado" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

.github/workflows/test-integration-trytond.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
set -x # print commands that are executed
5656
coverage erase
5757
58-
./scripts/runtox.sh "${{ matrix.python-version }}-trytond" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-trytond" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5959
coverage combine .coverage*
6060
coverage xml -i
6161
codecov --file coverage.xml

scripts/split-tox-gh-actions/ci-yaml.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
set -x # print commands that are executed
4848
coverage erase
4949

50-
./scripts/runtox.sh "${{ matrix.python-version }}-{{ framework }}" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
50+
./scripts/runtox.sh "py${{ matrix.python-version }}-{{ framework }}" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
5151
coverage combine .coverage*
5252
coverage xml -i
5353
codecov --file coverage.xml

scripts/split-tox-gh-actions/split-tox-gh-actions.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,11 @@ def write_yaml_file(
7171
out += template_line.replace("{{ framework }}", current_framework)
7272

7373
# write rendered template
74-
outfile_name = OUT_DIR / f"test-integration-{current_framework}.yml"
74+
if current_framework == "common":
75+
outfile_name = OUT_DIR / f"test-{current_framework}.yml"
76+
else:
77+
outfile_name = OUT_DIR / f"test-integration-{current_framework}.yml"
78+
7579
print(f"Writing {outfile_name}")
7680
f = open(outfile_name, "w")
7781
f.writelines(out)

0 commit comments

Comments
 (0)