From 4af3fff1593936e830c2d32c8d5d7be0c1b71334 Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Fri, 6 Sep 2024 10:10:07 +0200 Subject: [PATCH 01/17] debug output --- .github/workflows/test-integrations-ai.yml | 4 ++++ .github/workflows/test-integrations-aws-lambda.yml | 2 ++ .github/workflows/test-integrations-cloud-computing.yml | 4 ++++ .github/workflows/test-integrations-common.yml | 2 ++ .github/workflows/test-integrations-data-processing.yml | 4 ++++ .github/workflows/test-integrations-databases.yml | 4 ++++ .github/workflows/test-integrations-graphql.yml | 4 ++++ .github/workflows/test-integrations-miscellaneous.yml | 4 ++++ .github/workflows/test-integrations-networking.yml | 4 ++++ .github/workflows/test-integrations-web-frameworks-1.yml | 4 ++++ .github/workflows/test-integrations-web-frameworks-2.yml | 4 ++++ scripts/split-tox-gh-actions/templates/test_group.jinja | 2 ++ 12 files changed, 42 insertions(+) diff --git a/.github/workflows/test-integrations-ai.yml b/.github/workflows/test-integrations-ai.yml index c3c8f7a689..b2cc11cdc1 100644 --- a/.github/workflows/test-integrations-ai.yml +++ b/.github/workflows/test-integrations-ai.yml @@ -71,11 +71,13 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -139,11 +141,13 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-aws-lambda.yml b/.github/workflows/test-integrations-aws-lambda.yml index 10e319f8a2..6d3902bd7e 100644 --- a/.github/workflows/test-integrations-aws-lambda.yml +++ b/.github/workflows/test-integrations-aws-lambda.yml @@ -90,11 +90,13 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-cloud-computing.yml b/.github/workflows/test-integrations-cloud-computing.yml index 94dd3473cd..aa71ddc8f3 100644 --- a/.github/workflows/test-integrations-cloud-computing.yml +++ b/.github/workflows/test-integrations-cloud-computing.yml @@ -67,11 +67,13 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -131,11 +133,13 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-common.yml b/.github/workflows/test-integrations-common.yml index dbb3cb5d53..e399822c62 100644 --- a/.github/workflows/test-integrations-common.yml +++ b/.github/workflows/test-integrations-common.yml @@ -55,11 +55,13 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-data-processing.yml b/.github/workflows/test-integrations-data-processing.yml index 6eb3a9f71f..0a8d542b5f 100644 --- a/.github/workflows/test-integrations-data-processing.yml +++ b/.github/workflows/test-integrations-data-processing.yml @@ -85,11 +85,13 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -167,11 +169,13 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-databases.yml b/.github/workflows/test-integrations-databases.yml index eca776d1c4..669a2c5001 100644 --- a/.github/workflows/test-integrations-databases.yml +++ b/.github/workflows/test-integrations-databases.yml @@ -94,11 +94,13 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -185,11 +187,13 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-graphql.yml b/.github/workflows/test-integrations-graphql.yml index c89423327a..4a81222956 100644 --- a/.github/workflows/test-integrations-graphql.yml +++ b/.github/workflows/test-integrations-graphql.yml @@ -67,11 +67,13 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -131,11 +133,13 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-miscellaneous.yml b/.github/workflows/test-integrations-miscellaneous.yml index 492338c40e..94e4e9c973 100644 --- a/.github/workflows/test-integrations-miscellaneous.yml +++ b/.github/workflows/test-integrations-miscellaneous.yml @@ -71,11 +71,13 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -139,11 +141,13 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-networking.yml b/.github/workflows/test-integrations-networking.yml index fb55e708ae..34c42311f7 100644 --- a/.github/workflows/test-integrations-networking.yml +++ b/.github/workflows/test-integrations-networking.yml @@ -67,11 +67,13 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -131,11 +133,13 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-web-frameworks-1.yml b/.github/workflows/test-integrations-web-frameworks-1.yml index 01b391992d..09b44d6aeb 100644 --- a/.github/workflows/test-integrations-web-frameworks-1.yml +++ b/.github/workflows/test-integrations-web-frameworks-1.yml @@ -85,11 +85,13 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -167,11 +169,13 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-web-frameworks-2.yml b/.github/workflows/test-integrations-web-frameworks-2.yml index 310921a250..10fbbd13c7 100644 --- a/.github/workflows/test-integrations-web-frameworks-2.yml +++ b/.github/workflows/test-integrations-web-frameworks-2.yml @@ -91,11 +91,13 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -179,11 +181,13 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/scripts/split-tox-gh-actions/templates/test_group.jinja b/scripts/split-tox-gh-actions/templates/test_group.jinja index e63d6e0235..557747b653 100644 --- a/scripts/split-tox-gh-actions/templates/test_group.jinja +++ b/scripts/split-tox-gh-actions/templates/test_group.jinja @@ -83,12 +83,14 @@ export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Generate coverage XML if: {% raw %}${{ !cancelled() && matrix.python-version != '3.6' }}{% endraw %} run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml - name: Upload coverage to Codecov if: {% raw %}${{ !cancelled() }}{% endraw %} From 3b1db995b2db8cafd48b60cbc1004b79feb6ea42 Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Fri, 6 Sep 2024 10:33:09 +0200 Subject: [PATCH 02/17] fail when wrong report is found --- .github/workflows/test-integrations-ai.yml | 20 +++++++++++++++---- .../test-integrations-aws-lambda.yml | 10 ++++++++-- .../test-integrations-cloud-computing.yml | 20 +++++++++++++++---- .../workflows/test-integrations-common.yml | 10 ++++++++-- .../test-integrations-data-processing.yml | 20 +++++++++++++++---- .../workflows/test-integrations-databases.yml | 20 +++++++++++++++---- .../workflows/test-integrations-graphql.yml | 20 +++++++++++++++---- .../test-integrations-miscellaneous.yml | 20 +++++++++++++++---- .../test-integrations-networking.yml | 20 +++++++++++++++---- .../test-integrations-web-frameworks-1.yml | 20 +++++++++++++++---- .../test-integrations-web-frameworks-2.yml | 20 +++++++++++++++---- .../templates/test_group.jinja | 10 ++++++++-- 12 files changed, 168 insertions(+), 42 deletions(-) diff --git a/.github/workflows/test-integrations-ai.yml b/.github/workflows/test-integrations-ai.yml index b2cc11cdc1..ec4c95a505 100644 --- a/.github/workflows/test-integrations-ai.yml +++ b/.github/workflows/test-integrations-ai.yml @@ -71,13 +71,19 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -141,13 +147,19 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-aws-lambda.yml b/.github/workflows/test-integrations-aws-lambda.yml index 6d3902bd7e..bc8b2a7fdb 100644 --- a/.github/workflows/test-integrations-aws-lambda.yml +++ b/.github/workflows/test-integrations-aws-lambda.yml @@ -90,13 +90,19 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-cloud-computing.yml b/.github/workflows/test-integrations-cloud-computing.yml index aa71ddc8f3..db70128984 100644 --- a/.github/workflows/test-integrations-cloud-computing.yml +++ b/.github/workflows/test-integrations-cloud-computing.yml @@ -67,13 +67,19 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -133,13 +139,19 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-common.yml b/.github/workflows/test-integrations-common.yml index e399822c62..dd7774af8e 100644 --- a/.github/workflows/test-integrations-common.yml +++ b/.github/workflows/test-integrations-common.yml @@ -55,13 +55,19 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-data-processing.yml b/.github/workflows/test-integrations-data-processing.yml index 0a8d542b5f..7d1a140b64 100644 --- a/.github/workflows/test-integrations-data-processing.yml +++ b/.github/workflows/test-integrations-data-processing.yml @@ -85,13 +85,19 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -169,13 +175,19 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-databases.yml b/.github/workflows/test-integrations-databases.yml index 669a2c5001..3be8e58fbb 100644 --- a/.github/workflows/test-integrations-databases.yml +++ b/.github/workflows/test-integrations-databases.yml @@ -94,13 +94,19 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -187,13 +193,19 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-graphql.yml b/.github/workflows/test-integrations-graphql.yml index 4a81222956..20d21ab1ff 100644 --- a/.github/workflows/test-integrations-graphql.yml +++ b/.github/workflows/test-integrations-graphql.yml @@ -67,13 +67,19 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -133,13 +139,19 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-miscellaneous.yml b/.github/workflows/test-integrations-miscellaneous.yml index 94e4e9c973..cde72593ab 100644 --- a/.github/workflows/test-integrations-miscellaneous.yml +++ b/.github/workflows/test-integrations-miscellaneous.yml @@ -71,13 +71,19 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -141,13 +147,19 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-networking.yml b/.github/workflows/test-integrations-networking.yml index 34c42311f7..ab9c11cd88 100644 --- a/.github/workflows/test-integrations-networking.yml +++ b/.github/workflows/test-integrations-networking.yml @@ -67,13 +67,19 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -133,13 +139,19 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-web-frameworks-1.yml b/.github/workflows/test-integrations-web-frameworks-1.yml index 09b44d6aeb..dcfb11a2a1 100644 --- a/.github/workflows/test-integrations-web-frameworks-1.yml +++ b/.github/workflows/test-integrations-web-frameworks-1.yml @@ -85,13 +85,19 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -169,13 +175,19 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-web-frameworks-2.yml b/.github/workflows/test-integrations-web-frameworks-2.yml index 10fbbd13c7..a581be3ffe 100644 --- a/.github/workflows/test-integrations-web-frameworks-2.yml +++ b/.github/workflows/test-integrations-web-frameworks-2.yml @@ -91,13 +91,19 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -181,13 +187,19 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/scripts/split-tox-gh-actions/templates/test_group.jinja b/scripts/split-tox-gh-actions/templates/test_group.jinja index 557747b653..e972af2cba 100644 --- a/scripts/split-tox-gh-actions/templates/test_group.jinja +++ b/scripts/split-tox-gh-actions/templates/test_group.jinja @@ -83,14 +83,20 @@ export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: {% raw %}${{ !cancelled() && matrix.python-version != '3.6' }}{% endraw %} run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + cat bla.txt + [ -s bla.txt ] || rm bla.txt + [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: {% raw %}${{ !cancelled() }}{% endraw %} From cd8639aee68b66aecd798b64f7395cdc875d31c3 Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Fri, 6 Sep 2024 10:34:34 +0200 Subject: [PATCH 03/17] fixed grep --- .github/workflows/test-integrations-ai.yml | 8 ++++---- .github/workflows/test-integrations-aws-lambda.yml | 4 ++-- .github/workflows/test-integrations-cloud-computing.yml | 8 ++++---- .github/workflows/test-integrations-common.yml | 4 ++-- .github/workflows/test-integrations-data-processing.yml | 8 ++++---- .github/workflows/test-integrations-databases.yml | 8 ++++---- .github/workflows/test-integrations-graphql.yml | 8 ++++---- .github/workflows/test-integrations-miscellaneous.yml | 8 ++++---- .github/workflows/test-integrations-networking.yml | 8 ++++---- .github/workflows/test-integrations-web-frameworks-1.yml | 8 ++++---- .github/workflows/test-integrations-web-frameworks-2.yml | 8 ++++---- scripts/split-tox-gh-actions/templates/test_group.jinja | 4 ++-- 12 files changed, 42 insertions(+), 42 deletions(-) diff --git a/.github/workflows/test-integrations-ai.yml b/.github/workflows/test-integrations-ai.yml index ec4c95a505..85c2359836 100644 --- a/.github/workflows/test-integrations-ai.yml +++ b/.github/workflows/test-integrations-ai.yml @@ -71,7 +71,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -80,7 +80,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -147,7 +147,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -156,7 +156,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 diff --git a/.github/workflows/test-integrations-aws-lambda.yml b/.github/workflows/test-integrations-aws-lambda.yml index bc8b2a7fdb..0dbf37e34e 100644 --- a/.github/workflows/test-integrations-aws-lambda.yml +++ b/.github/workflows/test-integrations-aws-lambda.yml @@ -90,7 +90,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -99,7 +99,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 diff --git a/.github/workflows/test-integrations-cloud-computing.yml b/.github/workflows/test-integrations-cloud-computing.yml index db70128984..bfc972923f 100644 --- a/.github/workflows/test-integrations-cloud-computing.yml +++ b/.github/workflows/test-integrations-cloud-computing.yml @@ -67,7 +67,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -76,7 +76,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -139,7 +139,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -148,7 +148,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 diff --git a/.github/workflows/test-integrations-common.yml b/.github/workflows/test-integrations-common.yml index dd7774af8e..f6f9e7394e 100644 --- a/.github/workflows/test-integrations-common.yml +++ b/.github/workflows/test-integrations-common.yml @@ -55,7 +55,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -64,7 +64,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 diff --git a/.github/workflows/test-integrations-data-processing.yml b/.github/workflows/test-integrations-data-processing.yml index 7d1a140b64..f15e486794 100644 --- a/.github/workflows/test-integrations-data-processing.yml +++ b/.github/workflows/test-integrations-data-processing.yml @@ -85,7 +85,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -94,7 +94,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -175,7 +175,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -184,7 +184,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 diff --git a/.github/workflows/test-integrations-databases.yml b/.github/workflows/test-integrations-databases.yml index 3be8e58fbb..cd6d0352eb 100644 --- a/.github/workflows/test-integrations-databases.yml +++ b/.github/workflows/test-integrations-databases.yml @@ -94,7 +94,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -103,7 +103,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -193,7 +193,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -202,7 +202,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 diff --git a/.github/workflows/test-integrations-graphql.yml b/.github/workflows/test-integrations-graphql.yml index 20d21ab1ff..3423a84e2b 100644 --- a/.github/workflows/test-integrations-graphql.yml +++ b/.github/workflows/test-integrations-graphql.yml @@ -67,7 +67,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -76,7 +76,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -139,7 +139,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -148,7 +148,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 diff --git a/.github/workflows/test-integrations-miscellaneous.yml b/.github/workflows/test-integrations-miscellaneous.yml index cde72593ab..14ea060059 100644 --- a/.github/workflows/test-integrations-miscellaneous.yml +++ b/.github/workflows/test-integrations-miscellaneous.yml @@ -71,7 +71,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -80,7 +80,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -147,7 +147,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -156,7 +156,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 diff --git a/.github/workflows/test-integrations-networking.yml b/.github/workflows/test-integrations-networking.yml index ab9c11cd88..2e0402a140 100644 --- a/.github/workflows/test-integrations-networking.yml +++ b/.github/workflows/test-integrations-networking.yml @@ -67,7 +67,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -76,7 +76,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -139,7 +139,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -148,7 +148,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 diff --git a/.github/workflows/test-integrations-web-frameworks-1.yml b/.github/workflows/test-integrations-web-frameworks-1.yml index dcfb11a2a1..f319d834c2 100644 --- a/.github/workflows/test-integrations-web-frameworks-1.yml +++ b/.github/workflows/test-integrations-web-frameworks-1.yml @@ -85,7 +85,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -94,7 +94,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -175,7 +175,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -184,7 +184,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 diff --git a/.github/workflows/test-integrations-web-frameworks-2.yml b/.github/workflows/test-integrations-web-frameworks-2.yml index a581be3ffe..423e56e490 100644 --- a/.github/workflows/test-integrations-web-frameworks-2.yml +++ b/.github/workflows/test-integrations-web-frameworks-2.yml @@ -91,7 +91,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -100,7 +100,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -187,7 +187,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -196,7 +196,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 diff --git a/scripts/split-tox-gh-actions/templates/test_group.jinja b/scripts/split-tox-gh-actions/templates/test_group.jinja index e972af2cba..f3a8f3ff9e 100644 --- a/scripts/split-tox-gh-actions/templates/test_group.jinja +++ b/scripts/split-tox-gh-actions/templates/test_group.jinja @@ -83,7 +83,7 @@ export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 @@ -93,7 +93,7 @@ run: | coverage combine .coverage-sentry-* coverage xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml > bla.txt + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt [ -f bla.txt ] && exit 1 From 294af2deed0c182ae8cedf87036d50fbeddac08b Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Fri, 6 Sep 2024 10:37:59 +0200 Subject: [PATCH 04/17] Better output, to make more sense --- .github/workflows/test-integrations-ai.yml | 4 ++++ .github/workflows/test-integrations-aws-lambda.yml | 2 ++ .github/workflows/test-integrations-cloud-computing.yml | 4 ++++ .github/workflows/test-integrations-common.yml | 2 ++ .github/workflows/test-integrations-data-processing.yml | 4 ++++ .github/workflows/test-integrations-databases.yml | 4 ++++ .github/workflows/test-integrations-graphql.yml | 4 ++++ .github/workflows/test-integrations-miscellaneous.yml | 4 ++++ .github/workflows/test-integrations-networking.yml | 4 ++++ .github/workflows/test-integrations-web-frameworks-1.yml | 4 ++++ .github/workflows/test-integrations-web-frameworks-2.yml | 4 ++++ scripts/split-tox-gh-actions/templates/test_group.jinja | 2 ++ 12 files changed, 42 insertions(+) diff --git a/.github/workflows/test-integrations-ai.yml b/.github/workflows/test-integrations-ai.yml index 85c2359836..5e205e5741 100644 --- a/.github/workflows/test-integrations-ai.yml +++ b/.github/workflows/test-integrations-ai.yml @@ -71,6 +71,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -80,6 +81,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -147,6 +149,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -156,6 +159,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt diff --git a/.github/workflows/test-integrations-aws-lambda.yml b/.github/workflows/test-integrations-aws-lambda.yml index 0dbf37e34e..43398e98c1 100644 --- a/.github/workflows/test-integrations-aws-lambda.yml +++ b/.github/workflows/test-integrations-aws-lambda.yml @@ -90,6 +90,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -99,6 +100,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt diff --git a/.github/workflows/test-integrations-cloud-computing.yml b/.github/workflows/test-integrations-cloud-computing.yml index bfc972923f..65d6e0f9ea 100644 --- a/.github/workflows/test-integrations-cloud-computing.yml +++ b/.github/workflows/test-integrations-cloud-computing.yml @@ -67,6 +67,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -76,6 +77,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -139,6 +141,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -148,6 +151,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt diff --git a/.github/workflows/test-integrations-common.yml b/.github/workflows/test-integrations-common.yml index f6f9e7394e..5a84e5e9ca 100644 --- a/.github/workflows/test-integrations-common.yml +++ b/.github/workflows/test-integrations-common.yml @@ -55,6 +55,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -64,6 +65,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt diff --git a/.github/workflows/test-integrations-data-processing.yml b/.github/workflows/test-integrations-data-processing.yml index f15e486794..22451ae7fe 100644 --- a/.github/workflows/test-integrations-data-processing.yml +++ b/.github/workflows/test-integrations-data-processing.yml @@ -85,6 +85,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -94,6 +95,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -175,6 +177,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -184,6 +187,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt diff --git a/.github/workflows/test-integrations-databases.yml b/.github/workflows/test-integrations-databases.yml index cd6d0352eb..c267381d3f 100644 --- a/.github/workflows/test-integrations-databases.yml +++ b/.github/workflows/test-integrations-databases.yml @@ -94,6 +94,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -103,6 +104,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -193,6 +195,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -202,6 +205,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt diff --git a/.github/workflows/test-integrations-graphql.yml b/.github/workflows/test-integrations-graphql.yml index 3423a84e2b..6137c31c5d 100644 --- a/.github/workflows/test-integrations-graphql.yml +++ b/.github/workflows/test-integrations-graphql.yml @@ -67,6 +67,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -76,6 +77,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -139,6 +141,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -148,6 +151,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt diff --git a/.github/workflows/test-integrations-miscellaneous.yml b/.github/workflows/test-integrations-miscellaneous.yml index 14ea060059..0e25f3b1d5 100644 --- a/.github/workflows/test-integrations-miscellaneous.yml +++ b/.github/workflows/test-integrations-miscellaneous.yml @@ -71,6 +71,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -80,6 +81,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -147,6 +149,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -156,6 +159,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt diff --git a/.github/workflows/test-integrations-networking.yml b/.github/workflows/test-integrations-networking.yml index 2e0402a140..dcf1575b6c 100644 --- a/.github/workflows/test-integrations-networking.yml +++ b/.github/workflows/test-integrations-networking.yml @@ -67,6 +67,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -76,6 +77,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -139,6 +141,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -148,6 +151,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt diff --git a/.github/workflows/test-integrations-web-frameworks-1.yml b/.github/workflows/test-integrations-web-frameworks-1.yml index f319d834c2..d073082630 100644 --- a/.github/workflows/test-integrations-web-frameworks-1.yml +++ b/.github/workflows/test-integrations-web-frameworks-1.yml @@ -85,6 +85,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -94,6 +95,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -175,6 +177,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -184,6 +187,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt diff --git a/.github/workflows/test-integrations-web-frameworks-2.yml b/.github/workflows/test-integrations-web-frameworks-2.yml index 423e56e490..268205ad17 100644 --- a/.github/workflows/test-integrations-web-frameworks-2.yml +++ b/.github/workflows/test-integrations-web-frameworks-2.yml @@ -91,6 +91,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -100,6 +101,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -187,6 +189,7 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -196,6 +199,7 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt diff --git a/scripts/split-tox-gh-actions/templates/test_group.jinja b/scripts/split-tox-gh-actions/templates/test_group.jinja index f3a8f3ff9e..6de4664b70 100644 --- a/scripts/split-tox-gh-actions/templates/test_group.jinja +++ b/scripts/split-tox-gh-actions/templates/test_group.jinja @@ -83,6 +83,7 @@ export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt @@ -93,6 +94,7 @@ run: | coverage combine .coverage-sentry-* coverage xml + grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt cat bla.txt [ -s bla.txt ] || rm bla.txt From abde1e18f0ecfa5277f77b560607a0e8f2a24b68 Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Fri, 6 Sep 2024 10:53:04 +0200 Subject: [PATCH 05/17] more output --- .github/workflows/test-integrations-ai.yml | 20 +++++++++++++++++++ .../test-integrations-aws-lambda.yml | 10 ++++++++++ .../test-integrations-cloud-computing.yml | 20 +++++++++++++++++++ .../workflows/test-integrations-common.yml | 10 ++++++++++ .../test-integrations-data-processing.yml | 20 +++++++++++++++++++ .../workflows/test-integrations-databases.yml | 20 +++++++++++++++++++ .../workflows/test-integrations-graphql.yml | 20 +++++++++++++++++++ .../test-integrations-miscellaneous.yml | 20 +++++++++++++++++++ .../test-integrations-networking.yml | 20 +++++++++++++++++++ .../test-integrations-web-frameworks-1.yml | 20 +++++++++++++++++++ .../test-integrations-web-frameworks-2.yml | 20 +++++++++++++++++++ .../templates/test_group.jinja | 10 ++++++++++ 12 files changed, 210 insertions(+) diff --git a/.github/workflows/test-integrations-ai.yml b/.github/workflows/test-integrations-ai.yml index 5e205e5741..32ed96773e 100644 --- a/.github/workflows/test-integrations-ai.yml +++ b/.github/workflows/test-integrations-ai.yml @@ -73,8 +73,13 @@ jobs: coverage xml --ignore-errors grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} @@ -83,8 +88,13 @@ jobs: coverage xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} @@ -151,8 +161,13 @@ jobs: coverage xml --ignore-errors grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} @@ -161,8 +176,13 @@ jobs: coverage xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} diff --git a/.github/workflows/test-integrations-aws-lambda.yml b/.github/workflows/test-integrations-aws-lambda.yml index 43398e98c1..25cfd76756 100644 --- a/.github/workflows/test-integrations-aws-lambda.yml +++ b/.github/workflows/test-integrations-aws-lambda.yml @@ -92,8 +92,13 @@ jobs: coverage xml --ignore-errors grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} @@ -102,8 +107,13 @@ jobs: coverage xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} diff --git a/.github/workflows/test-integrations-cloud-computing.yml b/.github/workflows/test-integrations-cloud-computing.yml index 65d6e0f9ea..d78c87c8a8 100644 --- a/.github/workflows/test-integrations-cloud-computing.yml +++ b/.github/workflows/test-integrations-cloud-computing.yml @@ -69,8 +69,13 @@ jobs: coverage xml --ignore-errors grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} @@ -79,8 +84,13 @@ jobs: coverage xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} @@ -143,8 +153,13 @@ jobs: coverage xml --ignore-errors grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} @@ -153,8 +168,13 @@ jobs: coverage xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} diff --git a/.github/workflows/test-integrations-common.yml b/.github/workflows/test-integrations-common.yml index 5a84e5e9ca..50b0def061 100644 --- a/.github/workflows/test-integrations-common.yml +++ b/.github/workflows/test-integrations-common.yml @@ -57,8 +57,13 @@ jobs: coverage xml --ignore-errors grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} @@ -67,8 +72,13 @@ jobs: coverage xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} diff --git a/.github/workflows/test-integrations-data-processing.yml b/.github/workflows/test-integrations-data-processing.yml index 22451ae7fe..20a985e2e5 100644 --- a/.github/workflows/test-integrations-data-processing.yml +++ b/.github/workflows/test-integrations-data-processing.yml @@ -87,8 +87,13 @@ jobs: coverage xml --ignore-errors grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} @@ -97,8 +102,13 @@ jobs: coverage xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} @@ -179,8 +189,13 @@ jobs: coverage xml --ignore-errors grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} @@ -189,8 +204,13 @@ jobs: coverage xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} diff --git a/.github/workflows/test-integrations-databases.yml b/.github/workflows/test-integrations-databases.yml index c267381d3f..0b8323f315 100644 --- a/.github/workflows/test-integrations-databases.yml +++ b/.github/workflows/test-integrations-databases.yml @@ -96,8 +96,13 @@ jobs: coverage xml --ignore-errors grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} @@ -106,8 +111,13 @@ jobs: coverage xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} @@ -197,8 +207,13 @@ jobs: coverage xml --ignore-errors grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} @@ -207,8 +222,13 @@ jobs: coverage xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} diff --git a/.github/workflows/test-integrations-graphql.yml b/.github/workflows/test-integrations-graphql.yml index 6137c31c5d..8b85285fb9 100644 --- a/.github/workflows/test-integrations-graphql.yml +++ b/.github/workflows/test-integrations-graphql.yml @@ -69,8 +69,13 @@ jobs: coverage xml --ignore-errors grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} @@ -79,8 +84,13 @@ jobs: coverage xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} @@ -143,8 +153,13 @@ jobs: coverage xml --ignore-errors grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} @@ -153,8 +168,13 @@ jobs: coverage xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} diff --git a/.github/workflows/test-integrations-miscellaneous.yml b/.github/workflows/test-integrations-miscellaneous.yml index 0e25f3b1d5..193d98008b 100644 --- a/.github/workflows/test-integrations-miscellaneous.yml +++ b/.github/workflows/test-integrations-miscellaneous.yml @@ -73,8 +73,13 @@ jobs: coverage xml --ignore-errors grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} @@ -83,8 +88,13 @@ jobs: coverage xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} @@ -151,8 +161,13 @@ jobs: coverage xml --ignore-errors grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} @@ -161,8 +176,13 @@ jobs: coverage xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} diff --git a/.github/workflows/test-integrations-networking.yml b/.github/workflows/test-integrations-networking.yml index dcf1575b6c..ff63e10247 100644 --- a/.github/workflows/test-integrations-networking.yml +++ b/.github/workflows/test-integrations-networking.yml @@ -69,8 +69,13 @@ jobs: coverage xml --ignore-errors grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} @@ -79,8 +84,13 @@ jobs: coverage xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} @@ -143,8 +153,13 @@ jobs: coverage xml --ignore-errors grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} @@ -153,8 +168,13 @@ jobs: coverage xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} diff --git a/.github/workflows/test-integrations-web-frameworks-1.yml b/.github/workflows/test-integrations-web-frameworks-1.yml index d073082630..0b8e08fe53 100644 --- a/.github/workflows/test-integrations-web-frameworks-1.yml +++ b/.github/workflows/test-integrations-web-frameworks-1.yml @@ -87,8 +87,13 @@ jobs: coverage xml --ignore-errors grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} @@ -97,8 +102,13 @@ jobs: coverage xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} @@ -179,8 +189,13 @@ jobs: coverage xml --ignore-errors grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} @@ -189,8 +204,13 @@ jobs: coverage xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} diff --git a/.github/workflows/test-integrations-web-frameworks-2.yml b/.github/workflows/test-integrations-web-frameworks-2.yml index 268205ad17..8ef75c8b84 100644 --- a/.github/workflows/test-integrations-web-frameworks-2.yml +++ b/.github/workflows/test-integrations-web-frameworks-2.yml @@ -93,8 +93,13 @@ jobs: coverage xml --ignore-errors grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} @@ -103,8 +108,13 @@ jobs: coverage xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} @@ -191,8 +201,13 @@ jobs: coverage xml --ignore-errors grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} @@ -201,8 +216,13 @@ jobs: coverage xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov if: ${{ !cancelled() }} diff --git a/scripts/split-tox-gh-actions/templates/test_group.jinja b/scripts/split-tox-gh-actions/templates/test_group.jinja index 6de4664b70..4603843e13 100644 --- a/scripts/split-tox-gh-actions/templates/test_group.jinja +++ b/scripts/split-tox-gh-actions/templates/test_group.jinja @@ -85,8 +85,13 @@ coverage xml --ignore-errors grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML @@ -96,8 +101,13 @@ coverage xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "content of bla.txt:" cat bla.txt + echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + echo "is bla.txt still there?" + ls bla.txt + echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov From 5e124cb2cb25e9812193deb7ae03915e1a4be74b Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Fri, 6 Sep 2024 11:01:23 +0200 Subject: [PATCH 06/17] why did I do this in bash scripting? --- .github/workflows/test-integrations-ai.yml | 16 ++++++++++++---- .../workflows/test-integrations-aws-lambda.yml | 8 ++++++-- .../test-integrations-cloud-computing.yml | 16 ++++++++++++---- .github/workflows/test-integrations-common.yml | 8 ++++++-- .../test-integrations-data-processing.yml | 16 ++++++++++++---- .../workflows/test-integrations-databases.yml | 16 ++++++++++++---- .github/workflows/test-integrations-graphql.yml | 16 ++++++++++++---- .../test-integrations-miscellaneous.yml | 16 ++++++++++++---- .../workflows/test-integrations-networking.yml | 16 ++++++++++++---- .../test-integrations-web-frameworks-1.yml | 16 ++++++++++++---- .../test-integrations-web-frameworks-2.yml | 16 ++++++++++++---- .../templates/test_group.jinja | 8 ++++++-- 12 files changed, 126 insertions(+), 42 deletions(-) diff --git a/.github/workflows/test-integrations-ai.yml b/.github/workflows/test-integrations-ai.yml index 32ed96773e..38933a5379 100644 --- a/.github/workflows/test-integrations-ai.yml +++ b/.github/workflows/test-integrations-ai.yml @@ -71,8 +71,10 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -86,8 +88,10 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -159,8 +163,10 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -174,8 +180,10 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-aws-lambda.yml b/.github/workflows/test-integrations-aws-lambda.yml index 25cfd76756..ead67495cd 100644 --- a/.github/workflows/test-integrations-aws-lambda.yml +++ b/.github/workflows/test-integrations-aws-lambda.yml @@ -90,8 +90,10 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -105,8 +107,10 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-cloud-computing.yml b/.github/workflows/test-integrations-cloud-computing.yml index d78c87c8a8..5e411f5e7b 100644 --- a/.github/workflows/test-integrations-cloud-computing.yml +++ b/.github/workflows/test-integrations-cloud-computing.yml @@ -67,8 +67,10 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -82,8 +84,10 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -151,8 +155,10 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -166,8 +172,10 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-common.yml b/.github/workflows/test-integrations-common.yml index 50b0def061..451a3502be 100644 --- a/.github/workflows/test-integrations-common.yml +++ b/.github/workflows/test-integrations-common.yml @@ -55,8 +55,10 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -70,8 +72,10 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-data-processing.yml b/.github/workflows/test-integrations-data-processing.yml index 20a985e2e5..0904ed13cd 100644 --- a/.github/workflows/test-integrations-data-processing.yml +++ b/.github/workflows/test-integrations-data-processing.yml @@ -85,8 +85,10 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -100,8 +102,10 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -187,8 +191,10 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -202,8 +208,10 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-databases.yml b/.github/workflows/test-integrations-databases.yml index 0b8323f315..e71e209c80 100644 --- a/.github/workflows/test-integrations-databases.yml +++ b/.github/workflows/test-integrations-databases.yml @@ -94,8 +94,10 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -109,8 +111,10 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -205,8 +209,10 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -220,8 +226,10 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-graphql.yml b/.github/workflows/test-integrations-graphql.yml index 8b85285fb9..b5c0a9d683 100644 --- a/.github/workflows/test-integrations-graphql.yml +++ b/.github/workflows/test-integrations-graphql.yml @@ -67,8 +67,10 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -82,8 +84,10 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -151,8 +155,10 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -166,8 +172,10 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-miscellaneous.yml b/.github/workflows/test-integrations-miscellaneous.yml index 193d98008b..a07390fd5a 100644 --- a/.github/workflows/test-integrations-miscellaneous.yml +++ b/.github/workflows/test-integrations-miscellaneous.yml @@ -71,8 +71,10 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -86,8 +88,10 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -159,8 +163,10 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -174,8 +180,10 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-networking.yml b/.github/workflows/test-integrations-networking.yml index ff63e10247..ef41db1467 100644 --- a/.github/workflows/test-integrations-networking.yml +++ b/.github/workflows/test-integrations-networking.yml @@ -67,8 +67,10 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -82,8 +84,10 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -151,8 +155,10 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -166,8 +172,10 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-web-frameworks-1.yml b/.github/workflows/test-integrations-web-frameworks-1.yml index 0b8e08fe53..719b069517 100644 --- a/.github/workflows/test-integrations-web-frameworks-1.yml +++ b/.github/workflows/test-integrations-web-frameworks-1.yml @@ -85,8 +85,10 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -100,8 +102,10 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -187,8 +191,10 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -202,8 +208,10 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-web-frameworks-2.yml b/.github/workflows/test-integrations-web-frameworks-2.yml index 8ef75c8b84..79d1588723 100644 --- a/.github/workflows/test-integrations-web-frameworks-2.yml +++ b/.github/workflows/test-integrations-web-frameworks-2.yml @@ -91,8 +91,10 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -106,8 +108,10 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -199,8 +203,10 @@ jobs: export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -214,8 +220,10 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/scripts/split-tox-gh-actions/templates/test_group.jinja b/scripts/split-tox-gh-actions/templates/test_group.jinja index 4603843e13..2994953fa8 100644 --- a/scripts/split-tox-gh-actions/templates/test_group.jinja +++ b/scripts/split-tox-gh-actions/templates/test_group.jinja @@ -83,8 +83,10 @@ export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -99,8 +101,10 @@ run: | coverage combine .coverage-sentry-* coverage xml + echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt + echo "finding a line that should not be in there" + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" From 2fb0bc091d8e8d60769b54804958fe5c4d13128c Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Fri, 6 Sep 2024 11:03:51 +0200 Subject: [PATCH 07/17] man... --- .github/workflows/test-integrations-ai.yml | 8 -------- .github/workflows/test-integrations-aws-lambda.yml | 4 ---- .github/workflows/test-integrations-cloud-computing.yml | 8 -------- .github/workflows/test-integrations-common.yml | 4 ---- .github/workflows/test-integrations-data-processing.yml | 8 -------- .github/workflows/test-integrations-databases.yml | 8 -------- .github/workflows/test-integrations-graphql.yml | 8 -------- .github/workflows/test-integrations-miscellaneous.yml | 8 -------- .github/workflows/test-integrations-networking.yml | 8 -------- .github/workflows/test-integrations-web-frameworks-1.yml | 8 -------- .github/workflows/test-integrations-web-frameworks-2.yml | 8 -------- scripts/split-tox-gh-actions/templates/test_group.jinja | 4 ---- 12 files changed, 84 deletions(-) diff --git a/.github/workflows/test-integrations-ai.yml b/.github/workflows/test-integrations-ai.yml index 38933a5379..e39e34bf6c 100644 --- a/.github/workflows/test-integrations-ai.yml +++ b/.github/workflows/test-integrations-ai.yml @@ -79,8 +79,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML @@ -96,8 +94,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov @@ -171,8 +167,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML @@ -188,8 +182,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov diff --git a/.github/workflows/test-integrations-aws-lambda.yml b/.github/workflows/test-integrations-aws-lambda.yml index ead67495cd..d7fc1968ed 100644 --- a/.github/workflows/test-integrations-aws-lambda.yml +++ b/.github/workflows/test-integrations-aws-lambda.yml @@ -98,8 +98,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML @@ -115,8 +113,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov diff --git a/.github/workflows/test-integrations-cloud-computing.yml b/.github/workflows/test-integrations-cloud-computing.yml index 5e411f5e7b..79f8d384c2 100644 --- a/.github/workflows/test-integrations-cloud-computing.yml +++ b/.github/workflows/test-integrations-cloud-computing.yml @@ -75,8 +75,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML @@ -92,8 +90,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov @@ -163,8 +159,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML @@ -180,8 +174,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov diff --git a/.github/workflows/test-integrations-common.yml b/.github/workflows/test-integrations-common.yml index 451a3502be..0396b928b1 100644 --- a/.github/workflows/test-integrations-common.yml +++ b/.github/workflows/test-integrations-common.yml @@ -63,8 +63,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML @@ -80,8 +78,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov diff --git a/.github/workflows/test-integrations-data-processing.yml b/.github/workflows/test-integrations-data-processing.yml index 0904ed13cd..8642ac4414 100644 --- a/.github/workflows/test-integrations-data-processing.yml +++ b/.github/workflows/test-integrations-data-processing.yml @@ -93,8 +93,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML @@ -110,8 +108,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov @@ -199,8 +195,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML @@ -216,8 +210,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov diff --git a/.github/workflows/test-integrations-databases.yml b/.github/workflows/test-integrations-databases.yml index e71e209c80..346be37a5e 100644 --- a/.github/workflows/test-integrations-databases.yml +++ b/.github/workflows/test-integrations-databases.yml @@ -102,8 +102,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML @@ -119,8 +117,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov @@ -217,8 +213,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML @@ -234,8 +228,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov diff --git a/.github/workflows/test-integrations-graphql.yml b/.github/workflows/test-integrations-graphql.yml index b5c0a9d683..0933e54520 100644 --- a/.github/workflows/test-integrations-graphql.yml +++ b/.github/workflows/test-integrations-graphql.yml @@ -75,8 +75,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML @@ -92,8 +90,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov @@ -163,8 +159,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML @@ -180,8 +174,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov diff --git a/.github/workflows/test-integrations-miscellaneous.yml b/.github/workflows/test-integrations-miscellaneous.yml index a07390fd5a..8fab889e3c 100644 --- a/.github/workflows/test-integrations-miscellaneous.yml +++ b/.github/workflows/test-integrations-miscellaneous.yml @@ -79,8 +79,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML @@ -96,8 +94,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov @@ -171,8 +167,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML @@ -188,8 +182,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov diff --git a/.github/workflows/test-integrations-networking.yml b/.github/workflows/test-integrations-networking.yml index ef41db1467..26f3208901 100644 --- a/.github/workflows/test-integrations-networking.yml +++ b/.github/workflows/test-integrations-networking.yml @@ -75,8 +75,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML @@ -92,8 +90,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov @@ -163,8 +159,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML @@ -180,8 +174,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov diff --git a/.github/workflows/test-integrations-web-frameworks-1.yml b/.github/workflows/test-integrations-web-frameworks-1.yml index 719b069517..d9e8294b11 100644 --- a/.github/workflows/test-integrations-web-frameworks-1.yml +++ b/.github/workflows/test-integrations-web-frameworks-1.yml @@ -93,8 +93,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML @@ -110,8 +108,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov @@ -199,8 +195,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML @@ -216,8 +210,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov diff --git a/.github/workflows/test-integrations-web-frameworks-2.yml b/.github/workflows/test-integrations-web-frameworks-2.yml index 79d1588723..e55b7148ad 100644 --- a/.github/workflows/test-integrations-web-frameworks-2.yml +++ b/.github/workflows/test-integrations-web-frameworks-2.yml @@ -99,8 +99,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML @@ -116,8 +114,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov @@ -211,8 +207,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML @@ -228,8 +222,6 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov diff --git a/scripts/split-tox-gh-actions/templates/test_group.jinja b/scripts/split-tox-gh-actions/templates/test_group.jinja index 2994953fa8..b731f3c871 100644 --- a/scripts/split-tox-gh-actions/templates/test_group.jinja +++ b/scripts/split-tox-gh-actions/templates/test_group.jinja @@ -91,8 +91,6 @@ cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -109,8 +107,6 @@ cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt - echo "is bla.txt still there?" - ls bla.txt echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 From 48fa18e359f30cb938fc1bac85a3285daa1b813b Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Fri, 6 Sep 2024 11:09:02 +0200 Subject: [PATCH 08/17] . --- .github/workflows/test-integrations-ai.yml | 8 ++++++++ .github/workflows/test-integrations-aws-lambda.yml | 4 ++++ .github/workflows/test-integrations-cloud-computing.yml | 8 ++++++++ .github/workflows/test-integrations-common.yml | 4 ++++ .github/workflows/test-integrations-data-processing.yml | 8 ++++++++ .github/workflows/test-integrations-databases.yml | 8 ++++++++ .github/workflows/test-integrations-graphql.yml | 8 ++++++++ .github/workflows/test-integrations-miscellaneous.yml | 8 ++++++++ .github/workflows/test-integrations-networking.yml | 8 ++++++++ .github/workflows/test-integrations-web-frameworks-1.yml | 8 ++++++++ .github/workflows/test-integrations-web-frameworks-2.yml | 8 ++++++++ scripts/split-tox-gh-actions/templates/test_group.jinja | 4 ++++ 12 files changed, 84 insertions(+) diff --git a/.github/workflows/test-integrations-ai.yml b/.github/workflows/test-integrations-ai.yml index e39e34bf6c..1b58985574 100644 --- a/.github/workflows/test-integrations-ai.yml +++ b/.github/workflows/test-integrations-ai.yml @@ -68,6 +68,7 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | + set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors @@ -79,11 +80,13 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | + set -x coverage combine .coverage-sentry-* coverage xml echo "api.py in report:" @@ -94,6 +97,7 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov @@ -156,6 +160,7 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | + set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors @@ -167,11 +172,13 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | + set -x coverage combine .coverage-sentry-* coverage xml echo "api.py in report:" @@ -182,6 +189,7 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov diff --git a/.github/workflows/test-integrations-aws-lambda.yml b/.github/workflows/test-integrations-aws-lambda.yml index d7fc1968ed..48772cfb1e 100644 --- a/.github/workflows/test-integrations-aws-lambda.yml +++ b/.github/workflows/test-integrations-aws-lambda.yml @@ -87,6 +87,7 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | + set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors @@ -98,11 +99,13 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | + set -x coverage combine .coverage-sentry-* coverage xml echo "api.py in report:" @@ -113,6 +116,7 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov diff --git a/.github/workflows/test-integrations-cloud-computing.yml b/.github/workflows/test-integrations-cloud-computing.yml index 79f8d384c2..4ee87cc742 100644 --- a/.github/workflows/test-integrations-cloud-computing.yml +++ b/.github/workflows/test-integrations-cloud-computing.yml @@ -64,6 +64,7 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | + set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors @@ -75,11 +76,13 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | + set -x coverage combine .coverage-sentry-* coverage xml echo "api.py in report:" @@ -90,6 +93,7 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov @@ -148,6 +152,7 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | + set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors @@ -159,11 +164,13 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | + set -x coverage combine .coverage-sentry-* coverage xml echo "api.py in report:" @@ -174,6 +181,7 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov diff --git a/.github/workflows/test-integrations-common.yml b/.github/workflows/test-integrations-common.yml index 0396b928b1..dcd032bb41 100644 --- a/.github/workflows/test-integrations-common.yml +++ b/.github/workflows/test-integrations-common.yml @@ -52,6 +52,7 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | + set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors @@ -63,11 +64,13 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | + set -x coverage combine .coverage-sentry-* coverage xml echo "api.py in report:" @@ -78,6 +81,7 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov diff --git a/.github/workflows/test-integrations-data-processing.yml b/.github/workflows/test-integrations-data-processing.yml index 8642ac4414..8c2389f7a2 100644 --- a/.github/workflows/test-integrations-data-processing.yml +++ b/.github/workflows/test-integrations-data-processing.yml @@ -82,6 +82,7 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | + set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors @@ -93,11 +94,13 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | + set -x coverage combine .coverage-sentry-* coverage xml echo "api.py in report:" @@ -108,6 +111,7 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov @@ -184,6 +188,7 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | + set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors @@ -195,11 +200,13 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | + set -x coverage combine .coverage-sentry-* coverage xml echo "api.py in report:" @@ -210,6 +217,7 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov diff --git a/.github/workflows/test-integrations-databases.yml b/.github/workflows/test-integrations-databases.yml index 346be37a5e..31e0f8e617 100644 --- a/.github/workflows/test-integrations-databases.yml +++ b/.github/workflows/test-integrations-databases.yml @@ -91,6 +91,7 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | + set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors @@ -102,11 +103,13 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | + set -x coverage combine .coverage-sentry-* coverage xml echo "api.py in report:" @@ -117,6 +120,7 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov @@ -202,6 +206,7 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | + set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors @@ -213,11 +218,13 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | + set -x coverage combine .coverage-sentry-* coverage xml echo "api.py in report:" @@ -228,6 +235,7 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov diff --git a/.github/workflows/test-integrations-graphql.yml b/.github/workflows/test-integrations-graphql.yml index 0933e54520..9eb35b636d 100644 --- a/.github/workflows/test-integrations-graphql.yml +++ b/.github/workflows/test-integrations-graphql.yml @@ -64,6 +64,7 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | + set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors @@ -75,11 +76,13 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | + set -x coverage combine .coverage-sentry-* coverage xml echo "api.py in report:" @@ -90,6 +93,7 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov @@ -148,6 +152,7 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | + set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors @@ -159,11 +164,13 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | + set -x coverage combine .coverage-sentry-* coverage xml echo "api.py in report:" @@ -174,6 +181,7 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov diff --git a/.github/workflows/test-integrations-miscellaneous.yml b/.github/workflows/test-integrations-miscellaneous.yml index 8fab889e3c..58fd93cea7 100644 --- a/.github/workflows/test-integrations-miscellaneous.yml +++ b/.github/workflows/test-integrations-miscellaneous.yml @@ -68,6 +68,7 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | + set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors @@ -79,11 +80,13 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | + set -x coverage combine .coverage-sentry-* coverage xml echo "api.py in report:" @@ -94,6 +97,7 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov @@ -156,6 +160,7 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | + set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors @@ -167,11 +172,13 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | + set -x coverage combine .coverage-sentry-* coverage xml echo "api.py in report:" @@ -182,6 +189,7 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov diff --git a/.github/workflows/test-integrations-networking.yml b/.github/workflows/test-integrations-networking.yml index 26f3208901..b3ac44a028 100644 --- a/.github/workflows/test-integrations-networking.yml +++ b/.github/workflows/test-integrations-networking.yml @@ -64,6 +64,7 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | + set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors @@ -75,11 +76,13 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | + set -x coverage combine .coverage-sentry-* coverage xml echo "api.py in report:" @@ -90,6 +93,7 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov @@ -148,6 +152,7 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | + set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors @@ -159,11 +164,13 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | + set -x coverage combine .coverage-sentry-* coverage xml echo "api.py in report:" @@ -174,6 +181,7 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov diff --git a/.github/workflows/test-integrations-web-frameworks-1.yml b/.github/workflows/test-integrations-web-frameworks-1.yml index d9e8294b11..70bc583b22 100644 --- a/.github/workflows/test-integrations-web-frameworks-1.yml +++ b/.github/workflows/test-integrations-web-frameworks-1.yml @@ -82,6 +82,7 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | + set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors @@ -93,11 +94,13 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | + set -x coverage combine .coverage-sentry-* coverage xml echo "api.py in report:" @@ -108,6 +111,7 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov @@ -184,6 +188,7 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | + set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors @@ -195,11 +200,13 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | + set -x coverage combine .coverage-sentry-* coverage xml echo "api.py in report:" @@ -210,6 +217,7 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov diff --git a/.github/workflows/test-integrations-web-frameworks-2.yml b/.github/workflows/test-integrations-web-frameworks-2.yml index e55b7148ad..be81f996cd 100644 --- a/.github/workflows/test-integrations-web-frameworks-2.yml +++ b/.github/workflows/test-integrations-web-frameworks-2.yml @@ -88,6 +88,7 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | + set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors @@ -99,11 +100,13 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | + set -x coverage combine .coverage-sentry-* coverage xml echo "api.py in report:" @@ -114,6 +117,7 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov @@ -196,6 +200,7 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | + set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors @@ -207,11 +212,13 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | + set -x coverage combine .coverage-sentry-* coverage xml echo "api.py in report:" @@ -222,6 +229,7 @@ jobs: cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Upload coverage to Codecov diff --git a/scripts/split-tox-gh-actions/templates/test_group.jinja b/scripts/split-tox-gh-actions/templates/test_group.jinja index b731f3c871..8b1af0d33f 100644 --- a/scripts/split-tox-gh-actions/templates/test_group.jinja +++ b/scripts/split-tox-gh-actions/templates/test_group.jinja @@ -80,6 +80,7 @@ - name: Generate coverage XML (Python 3.6) if: {% raw %}${{ !cancelled() && matrix.python-version == '3.6' }}{% endraw %} run: | + set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors @@ -91,12 +92,14 @@ cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 - name: Generate coverage XML if: {% raw %}${{ !cancelled() && matrix.python-version != '3.6' }}{% endraw %} run: | + set -x coverage combine .coverage-sentry-* coverage xml echo "api.py in report:" @@ -107,6 +110,7 @@ cat bla.txt echo "delete bla.txt if empty" [ -s bla.txt ] || rm bla.txt + ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 From 056979e364253751e411a2d1769de32fc9644064 Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Fri, 6 Sep 2024 11:12:00 +0200 Subject: [PATCH 09/17] . --- scripts/split-tox-gh-actions/templates/test_group.jinja | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/split-tox-gh-actions/templates/test_group.jinja b/scripts/split-tox-gh-actions/templates/test_group.jinja index 8b1af0d33f..5423caecac 100644 --- a/scripts/split-tox-gh-actions/templates/test_group.jinja +++ b/scripts/split-tox-gh-actions/templates/test_group.jinja @@ -91,7 +91,7 @@ echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -109,7 +109,7 @@ echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 From a32d94be977c8436e9761aa825e8af4a536bd527 Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Fri, 6 Sep 2024 11:13:53 +0200 Subject: [PATCH 10/17] updated test matrix --- .github/workflows/test-integrations-ai.yml | 8 ++++---- .github/workflows/test-integrations-aws-lambda.yml | 4 ++-- .github/workflows/test-integrations-cloud-computing.yml | 8 ++++---- .github/workflows/test-integrations-common.yml | 4 ++-- .github/workflows/test-integrations-data-processing.yml | 8 ++++---- .github/workflows/test-integrations-databases.yml | 8 ++++---- .github/workflows/test-integrations-graphql.yml | 8 ++++---- .github/workflows/test-integrations-miscellaneous.yml | 8 ++++---- .github/workflows/test-integrations-networking.yml | 8 ++++---- .github/workflows/test-integrations-web-frameworks-1.yml | 8 ++++---- .github/workflows/test-integrations-web-frameworks-2.yml | 8 ++++---- 11 files changed, 40 insertions(+), 40 deletions(-) diff --git a/.github/workflows/test-integrations-ai.yml b/.github/workflows/test-integrations-ai.yml index 1b58985574..bcc1581c5b 100644 --- a/.github/workflows/test-integrations-ai.yml +++ b/.github/workflows/test-integrations-ai.yml @@ -79,7 +79,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -96,7 +96,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -171,7 +171,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -188,7 +188,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 diff --git a/.github/workflows/test-integrations-aws-lambda.yml b/.github/workflows/test-integrations-aws-lambda.yml index 48772cfb1e..48d66e4447 100644 --- a/.github/workflows/test-integrations-aws-lambda.yml +++ b/.github/workflows/test-integrations-aws-lambda.yml @@ -98,7 +98,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -115,7 +115,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 diff --git a/.github/workflows/test-integrations-cloud-computing.yml b/.github/workflows/test-integrations-cloud-computing.yml index 4ee87cc742..2497a66896 100644 --- a/.github/workflows/test-integrations-cloud-computing.yml +++ b/.github/workflows/test-integrations-cloud-computing.yml @@ -75,7 +75,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -92,7 +92,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -163,7 +163,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -180,7 +180,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 diff --git a/.github/workflows/test-integrations-common.yml b/.github/workflows/test-integrations-common.yml index dcd032bb41..81294c8cc6 100644 --- a/.github/workflows/test-integrations-common.yml +++ b/.github/workflows/test-integrations-common.yml @@ -63,7 +63,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -80,7 +80,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 diff --git a/.github/workflows/test-integrations-data-processing.yml b/.github/workflows/test-integrations-data-processing.yml index 8c2389f7a2..2352f95b8e 100644 --- a/.github/workflows/test-integrations-data-processing.yml +++ b/.github/workflows/test-integrations-data-processing.yml @@ -93,7 +93,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -110,7 +110,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -199,7 +199,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -216,7 +216,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 diff --git a/.github/workflows/test-integrations-databases.yml b/.github/workflows/test-integrations-databases.yml index 31e0f8e617..a2aed2ea2d 100644 --- a/.github/workflows/test-integrations-databases.yml +++ b/.github/workflows/test-integrations-databases.yml @@ -102,7 +102,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -119,7 +119,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -217,7 +217,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -234,7 +234,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 diff --git a/.github/workflows/test-integrations-graphql.yml b/.github/workflows/test-integrations-graphql.yml index 9eb35b636d..78dfcb7358 100644 --- a/.github/workflows/test-integrations-graphql.yml +++ b/.github/workflows/test-integrations-graphql.yml @@ -75,7 +75,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -92,7 +92,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -163,7 +163,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -180,7 +180,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 diff --git a/.github/workflows/test-integrations-miscellaneous.yml b/.github/workflows/test-integrations-miscellaneous.yml index 58fd93cea7..c4408723e5 100644 --- a/.github/workflows/test-integrations-miscellaneous.yml +++ b/.github/workflows/test-integrations-miscellaneous.yml @@ -79,7 +79,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -96,7 +96,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -171,7 +171,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -188,7 +188,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 diff --git a/.github/workflows/test-integrations-networking.yml b/.github/workflows/test-integrations-networking.yml index b3ac44a028..b28e42b615 100644 --- a/.github/workflows/test-integrations-networking.yml +++ b/.github/workflows/test-integrations-networking.yml @@ -75,7 +75,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -92,7 +92,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -163,7 +163,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -180,7 +180,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 diff --git a/.github/workflows/test-integrations-web-frameworks-1.yml b/.github/workflows/test-integrations-web-frameworks-1.yml index 70bc583b22..7a3e8cdaaf 100644 --- a/.github/workflows/test-integrations-web-frameworks-1.yml +++ b/.github/workflows/test-integrations-web-frameworks-1.yml @@ -93,7 +93,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -110,7 +110,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -199,7 +199,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -216,7 +216,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 diff --git a/.github/workflows/test-integrations-web-frameworks-2.yml b/.github/workflows/test-integrations-web-frameworks-2.yml index be81f996cd..516691fba3 100644 --- a/.github/workflows/test-integrations-web-frameworks-2.yml +++ b/.github/workflows/test-integrations-web-frameworks-2.yml @@ -99,7 +99,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -116,7 +116,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -211,7 +211,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 @@ -228,7 +228,7 @@ jobs: echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" - [ -s bla.txt ] || rm bla.txt + [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" [ -f bla.txt ] && exit 1 From 5f79eebe397f0e4b0af9360266f90616c19c774f Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Fri, 6 Sep 2024 11:20:43 +0200 Subject: [PATCH 11/17] . --- .github/workflows/test-integrations-ai.yml | 8 ++++---- .github/workflows/test-integrations-aws-lambda.yml | 4 ++-- .github/workflows/test-integrations-cloud-computing.yml | 8 ++++---- .github/workflows/test-integrations-common.yml | 4 ++-- .github/workflows/test-integrations-data-processing.yml | 8 ++++---- .github/workflows/test-integrations-databases.yml | 8 ++++---- .github/workflows/test-integrations-graphql.yml | 8 ++++---- .github/workflows/test-integrations-miscellaneous.yml | 8 ++++---- .github/workflows/test-integrations-networking.yml | 8 ++++---- .github/workflows/test-integrations-web-frameworks-1.yml | 8 ++++---- .github/workflows/test-integrations-web-frameworks-2.yml | 8 ++++---- scripts/split-tox-gh-actions/templates/test_group.jinja | 4 ++-- 12 files changed, 42 insertions(+), 42 deletions(-) diff --git a/.github/workflows/test-integrations-ai.yml b/.github/workflows/test-integrations-ai.yml index bcc1581c5b..1a70883f5b 100644 --- a/.github/workflows/test-integrations-ai.yml +++ b/.github/workflows/test-integrations-ai.yml @@ -82,7 +82,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | @@ -99,7 +99,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -174,7 +174,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | @@ -191,7 +191,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-aws-lambda.yml b/.github/workflows/test-integrations-aws-lambda.yml index 48d66e4447..5d6e328283 100644 --- a/.github/workflows/test-integrations-aws-lambda.yml +++ b/.github/workflows/test-integrations-aws-lambda.yml @@ -101,7 +101,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | @@ -118,7 +118,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-cloud-computing.yml b/.github/workflows/test-integrations-cloud-computing.yml index 2497a66896..d1e737569c 100644 --- a/.github/workflows/test-integrations-cloud-computing.yml +++ b/.github/workflows/test-integrations-cloud-computing.yml @@ -78,7 +78,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | @@ -95,7 +95,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -166,7 +166,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | @@ -183,7 +183,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-common.yml b/.github/workflows/test-integrations-common.yml index 81294c8cc6..16384f92cc 100644 --- a/.github/workflows/test-integrations-common.yml +++ b/.github/workflows/test-integrations-common.yml @@ -66,7 +66,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | @@ -83,7 +83,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-data-processing.yml b/.github/workflows/test-integrations-data-processing.yml index 2352f95b8e..b6faef8079 100644 --- a/.github/workflows/test-integrations-data-processing.yml +++ b/.github/workflows/test-integrations-data-processing.yml @@ -96,7 +96,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | @@ -113,7 +113,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -202,7 +202,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | @@ -219,7 +219,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-databases.yml b/.github/workflows/test-integrations-databases.yml index a2aed2ea2d..bebe6a9664 100644 --- a/.github/workflows/test-integrations-databases.yml +++ b/.github/workflows/test-integrations-databases.yml @@ -105,7 +105,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | @@ -122,7 +122,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -220,7 +220,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | @@ -237,7 +237,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-graphql.yml b/.github/workflows/test-integrations-graphql.yml index 78dfcb7358..be7c4211b7 100644 --- a/.github/workflows/test-integrations-graphql.yml +++ b/.github/workflows/test-integrations-graphql.yml @@ -78,7 +78,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | @@ -95,7 +95,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -166,7 +166,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | @@ -183,7 +183,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-miscellaneous.yml b/.github/workflows/test-integrations-miscellaneous.yml index c4408723e5..c8f901fad7 100644 --- a/.github/workflows/test-integrations-miscellaneous.yml +++ b/.github/workflows/test-integrations-miscellaneous.yml @@ -82,7 +82,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | @@ -99,7 +99,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -174,7 +174,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | @@ -191,7 +191,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-networking.yml b/.github/workflows/test-integrations-networking.yml index b28e42b615..ece3daa63c 100644 --- a/.github/workflows/test-integrations-networking.yml +++ b/.github/workflows/test-integrations-networking.yml @@ -78,7 +78,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | @@ -95,7 +95,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -166,7 +166,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | @@ -183,7 +183,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-web-frameworks-1.yml b/.github/workflows/test-integrations-web-frameworks-1.yml index 7a3e8cdaaf..c21d8df728 100644 --- a/.github/workflows/test-integrations-web-frameworks-1.yml +++ b/.github/workflows/test-integrations-web-frameworks-1.yml @@ -96,7 +96,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | @@ -113,7 +113,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -202,7 +202,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | @@ -219,7 +219,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-web-frameworks-2.yml b/.github/workflows/test-integrations-web-frameworks-2.yml index 516691fba3..5ab61c654d 100644 --- a/.github/workflows/test-integrations-web-frameworks-2.yml +++ b/.github/workflows/test-integrations-web-frameworks-2.yml @@ -102,7 +102,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | @@ -119,7 +119,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -214,7 +214,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | @@ -231,7 +231,7 @@ jobs: [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/scripts/split-tox-gh-actions/templates/test_group.jinja b/scripts/split-tox-gh-actions/templates/test_group.jinja index 5423caecac..43bdf0be53 100644 --- a/scripts/split-tox-gh-actions/templates/test_group.jinja +++ b/scripts/split-tox-gh-actions/templates/test_group.jinja @@ -94,7 +94,7 @@ [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: {% raw %}${{ !cancelled() && matrix.python-version != '3.6' }}{% endraw %} @@ -112,7 +112,7 @@ [ ! -s bla.txt ] && rm bla.txt ls echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 + [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: {% raw %}${{ !cancelled() }}{% endraw %} From 5e4745053b1e496adc5f7b1bc5b5d3c90b8d1893 Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Fri, 6 Sep 2024 11:58:16 +0200 Subject: [PATCH 12/17] check if this script even works --- .github/workflows/test-integrations-ai.yml | 8 ++++---- .github/workflows/test-integrations-aws-lambda.yml | 4 ++-- .github/workflows/test-integrations-cloud-computing.yml | 8 ++++---- .github/workflows/test-integrations-common.yml | 4 ++-- .github/workflows/test-integrations-data-processing.yml | 8 ++++---- .github/workflows/test-integrations-databases.yml | 8 ++++---- .github/workflows/test-integrations-graphql.yml | 8 ++++---- .github/workflows/test-integrations-miscellaneous.yml | 8 ++++---- .github/workflows/test-integrations-networking.yml | 8 ++++---- .github/workflows/test-integrations-web-frameworks-1.yml | 8 ++++---- .github/workflows/test-integrations-web-frameworks-2.yml | 8 ++++---- scripts/split-tox-gh-actions/templates/test_group.jinja | 4 ++-- 12 files changed, 42 insertions(+), 42 deletions(-) diff --git a/.github/workflows/test-integrations-ai.yml b/.github/workflows/test-integrations-ai.yml index 1a70883f5b..8d8cc2756b 100644 --- a/.github/workflows/test-integrations-ai.yml +++ b/.github/workflows/test-integrations-ai.yml @@ -75,7 +75,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -92,7 +92,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -167,7 +167,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -184,7 +184,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-aws-lambda.yml b/.github/workflows/test-integrations-aws-lambda.yml index 5d6e328283..c60f5ec056 100644 --- a/.github/workflows/test-integrations-aws-lambda.yml +++ b/.github/workflows/test-integrations-aws-lambda.yml @@ -94,7 +94,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -111,7 +111,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-cloud-computing.yml b/.github/workflows/test-integrations-cloud-computing.yml index d1e737569c..a7f35f8000 100644 --- a/.github/workflows/test-integrations-cloud-computing.yml +++ b/.github/workflows/test-integrations-cloud-computing.yml @@ -71,7 +71,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -88,7 +88,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -159,7 +159,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -176,7 +176,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-common.yml b/.github/workflows/test-integrations-common.yml index 16384f92cc..2707fa0108 100644 --- a/.github/workflows/test-integrations-common.yml +++ b/.github/workflows/test-integrations-common.yml @@ -59,7 +59,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -76,7 +76,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-data-processing.yml b/.github/workflows/test-integrations-data-processing.yml index b6faef8079..89e0adcee4 100644 --- a/.github/workflows/test-integrations-data-processing.yml +++ b/.github/workflows/test-integrations-data-processing.yml @@ -89,7 +89,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -106,7 +106,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -195,7 +195,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -212,7 +212,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-databases.yml b/.github/workflows/test-integrations-databases.yml index bebe6a9664..9dcf32b475 100644 --- a/.github/workflows/test-integrations-databases.yml +++ b/.github/workflows/test-integrations-databases.yml @@ -98,7 +98,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -115,7 +115,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -213,7 +213,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -230,7 +230,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-graphql.yml b/.github/workflows/test-integrations-graphql.yml index be7c4211b7..55b6031213 100644 --- a/.github/workflows/test-integrations-graphql.yml +++ b/.github/workflows/test-integrations-graphql.yml @@ -71,7 +71,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -88,7 +88,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -159,7 +159,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -176,7 +176,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-miscellaneous.yml b/.github/workflows/test-integrations-miscellaneous.yml index c8f901fad7..8330bd54e8 100644 --- a/.github/workflows/test-integrations-miscellaneous.yml +++ b/.github/workflows/test-integrations-miscellaneous.yml @@ -75,7 +75,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -92,7 +92,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -167,7 +167,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -184,7 +184,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-networking.yml b/.github/workflows/test-integrations-networking.yml index ece3daa63c..0aeef73fa6 100644 --- a/.github/workflows/test-integrations-networking.yml +++ b/.github/workflows/test-integrations-networking.yml @@ -71,7 +71,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -88,7 +88,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -159,7 +159,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -176,7 +176,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-web-frameworks-1.yml b/.github/workflows/test-integrations-web-frameworks-1.yml index c21d8df728..5ad1013355 100644 --- a/.github/workflows/test-integrations-web-frameworks-1.yml +++ b/.github/workflows/test-integrations-web-frameworks-1.yml @@ -89,7 +89,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -106,7 +106,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -195,7 +195,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -212,7 +212,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-web-frameworks-2.yml b/.github/workflows/test-integrations-web-frameworks-2.yml index 5ab61c654d..5f64b63002 100644 --- a/.github/workflows/test-integrations-web-frameworks-2.yml +++ b/.github/workflows/test-integrations-web-frameworks-2.yml @@ -95,7 +95,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -112,7 +112,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -207,7 +207,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -224,7 +224,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/scripts/split-tox-gh-actions/templates/test_group.jinja b/scripts/split-tox-gh-actions/templates/test_group.jinja index 43bdf0be53..030bb7b5d6 100644 --- a/scripts/split-tox-gh-actions/templates/test_group.jinja +++ b/scripts/split-tox-gh-actions/templates/test_group.jinja @@ -87,7 +87,7 @@ echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -105,7 +105,7 @@ echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" From 912aa260c6730f5cf2d6cfb71f6effed3bab2a03 Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Fri, 6 Sep 2024 12:09:24 +0200 Subject: [PATCH 13/17] The script works! --- .github/workflows/test-integrations-ai.yml | 8 ++++---- .github/workflows/test-integrations-aws-lambda.yml | 4 ++-- .github/workflows/test-integrations-cloud-computing.yml | 8 ++++---- .github/workflows/test-integrations-common.yml | 4 ++-- .github/workflows/test-integrations-data-processing.yml | 8 ++++---- .github/workflows/test-integrations-databases.yml | 8 ++++---- .github/workflows/test-integrations-graphql.yml | 8 ++++---- .github/workflows/test-integrations-miscellaneous.yml | 8 ++++---- .github/workflows/test-integrations-networking.yml | 8 ++++---- .github/workflows/test-integrations-web-frameworks-1.yml | 8 ++++---- .github/workflows/test-integrations-web-frameworks-2.yml | 8 ++++---- scripts/split-tox-gh-actions/templates/test_group.jinja | 4 ++-- 12 files changed, 42 insertions(+), 42 deletions(-) diff --git a/.github/workflows/test-integrations-ai.yml b/.github/workflows/test-integrations-ai.yml index 8d8cc2756b..1a70883f5b 100644 --- a/.github/workflows/test-integrations-ai.yml +++ b/.github/workflows/test-integrations-ai.yml @@ -75,7 +75,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -92,7 +92,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -167,7 +167,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -184,7 +184,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-aws-lambda.yml b/.github/workflows/test-integrations-aws-lambda.yml index c60f5ec056..5d6e328283 100644 --- a/.github/workflows/test-integrations-aws-lambda.yml +++ b/.github/workflows/test-integrations-aws-lambda.yml @@ -94,7 +94,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -111,7 +111,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-cloud-computing.yml b/.github/workflows/test-integrations-cloud-computing.yml index a7f35f8000..d1e737569c 100644 --- a/.github/workflows/test-integrations-cloud-computing.yml +++ b/.github/workflows/test-integrations-cloud-computing.yml @@ -71,7 +71,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -88,7 +88,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -159,7 +159,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -176,7 +176,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-common.yml b/.github/workflows/test-integrations-common.yml index 2707fa0108..16384f92cc 100644 --- a/.github/workflows/test-integrations-common.yml +++ b/.github/workflows/test-integrations-common.yml @@ -59,7 +59,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -76,7 +76,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-data-processing.yml b/.github/workflows/test-integrations-data-processing.yml index 89e0adcee4..b6faef8079 100644 --- a/.github/workflows/test-integrations-data-processing.yml +++ b/.github/workflows/test-integrations-data-processing.yml @@ -89,7 +89,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -106,7 +106,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -195,7 +195,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -212,7 +212,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-databases.yml b/.github/workflows/test-integrations-databases.yml index 9dcf32b475..bebe6a9664 100644 --- a/.github/workflows/test-integrations-databases.yml +++ b/.github/workflows/test-integrations-databases.yml @@ -98,7 +98,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -115,7 +115,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -213,7 +213,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -230,7 +230,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-graphql.yml b/.github/workflows/test-integrations-graphql.yml index 55b6031213..be7c4211b7 100644 --- a/.github/workflows/test-integrations-graphql.yml +++ b/.github/workflows/test-integrations-graphql.yml @@ -71,7 +71,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -88,7 +88,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -159,7 +159,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -176,7 +176,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-miscellaneous.yml b/.github/workflows/test-integrations-miscellaneous.yml index 8330bd54e8..c8f901fad7 100644 --- a/.github/workflows/test-integrations-miscellaneous.yml +++ b/.github/workflows/test-integrations-miscellaneous.yml @@ -75,7 +75,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -92,7 +92,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -167,7 +167,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -184,7 +184,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-networking.yml b/.github/workflows/test-integrations-networking.yml index 0aeef73fa6..ece3daa63c 100644 --- a/.github/workflows/test-integrations-networking.yml +++ b/.github/workflows/test-integrations-networking.yml @@ -71,7 +71,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -88,7 +88,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -159,7 +159,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -176,7 +176,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-web-frameworks-1.yml b/.github/workflows/test-integrations-web-frameworks-1.yml index 5ad1013355..c21d8df728 100644 --- a/.github/workflows/test-integrations-web-frameworks-1.yml +++ b/.github/workflows/test-integrations-web-frameworks-1.yml @@ -89,7 +89,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -106,7 +106,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -195,7 +195,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -212,7 +212,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/.github/workflows/test-integrations-web-frameworks-2.yml b/.github/workflows/test-integrations-web-frameworks-2.yml index 5f64b63002..5ab61c654d 100644 --- a/.github/workflows/test-integrations-web-frameworks-2.yml +++ b/.github/workflows/test-integrations-web-frameworks-2.yml @@ -95,7 +95,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -112,7 +112,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -207,7 +207,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -224,7 +224,7 @@ jobs: echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" diff --git a/scripts/split-tox-gh-actions/templates/test_group.jinja b/scripts/split-tox-gh-actions/templates/test_group.jinja index 030bb7b5d6..43bdf0be53 100644 --- a/scripts/split-tox-gh-actions/templates/test_group.jinja +++ b/scripts/split-tox-gh-actions/templates/test_group.jinja @@ -87,7 +87,7 @@ echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" @@ -105,7 +105,7 @@ echo "api.py in report:" grep "\"sentry_sdk/api.py" -A 20 coverage.xml echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"1\"" > bla.txt || true + grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true echo "content of bla.txt:" cat bla.txt echo "delete bla.txt if empty" From c4a1470742c6a24547cd4ccb5fb67a36a216f27f Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Tue, 10 Sep 2024 16:24:35 +0200 Subject: [PATCH 14/17] Made codecov verbose --- .github/workflows/test-integrations-ai.yml | 4 ++++ .github/workflows/test-integrations-aws-lambda.yml | 2 ++ .github/workflows/test-integrations-cloud-computing.yml | 4 ++++ .github/workflows/test-integrations-common.yml | 2 ++ .github/workflows/test-integrations-data-processing.yml | 4 ++++ .github/workflows/test-integrations-databases.yml | 4 ++++ .github/workflows/test-integrations-graphql.yml | 4 ++++ .github/workflows/test-integrations-miscellaneous.yml | 4 ++++ .github/workflows/test-integrations-networking.yml | 4 ++++ .github/workflows/test-integrations-web-frameworks-1.yml | 4 ++++ .github/workflows/test-integrations-web-frameworks-2.yml | 4 ++++ scripts/split-tox-gh-actions/templates/test_group.jinja | 4 +++- 12 files changed, 43 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-integrations-ai.yml b/.github/workflows/test-integrations-ai.yml index 1a70883f5b..868eda4604 100644 --- a/.github/workflows/test-integrations-ai.yml +++ b/.github/workflows/test-integrations-ai.yml @@ -106,12 +106,14 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + verbose: true - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} files: .junitxml + verbose: true test-ai-pinned: name: AI (pinned) timeout-minutes: 30 @@ -198,12 +200,14 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + verbose: true - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} files: .junitxml + verbose: true check_required_tests: name: All AI tests passed needs: test-ai-pinned diff --git a/.github/workflows/test-integrations-aws-lambda.yml b/.github/workflows/test-integrations-aws-lambda.yml index 5d6e328283..63a932e701 100644 --- a/.github/workflows/test-integrations-aws-lambda.yml +++ b/.github/workflows/test-integrations-aws-lambda.yml @@ -125,12 +125,14 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + verbose: true - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} files: .junitxml + verbose: true check_required_tests: name: All AWS Lambda tests passed needs: test-aws_lambda-pinned diff --git a/.github/workflows/test-integrations-cloud-computing.yml b/.github/workflows/test-integrations-cloud-computing.yml index d1e737569c..c7ded9bee7 100644 --- a/.github/workflows/test-integrations-cloud-computing.yml +++ b/.github/workflows/test-integrations-cloud-computing.yml @@ -102,12 +102,14 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + verbose: true - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} files: .junitxml + verbose: true test-cloud_computing-pinned: name: Cloud Computing (pinned) timeout-minutes: 30 @@ -190,12 +192,14 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + verbose: true - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} files: .junitxml + verbose: true check_required_tests: name: All Cloud Computing tests passed needs: test-cloud_computing-pinned diff --git a/.github/workflows/test-integrations-common.yml b/.github/workflows/test-integrations-common.yml index 16384f92cc..cb05937961 100644 --- a/.github/workflows/test-integrations-common.yml +++ b/.github/workflows/test-integrations-common.yml @@ -90,12 +90,14 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + verbose: true - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} files: .junitxml + verbose: true check_required_tests: name: All Common tests passed needs: test-common-pinned diff --git a/.github/workflows/test-integrations-data-processing.yml b/.github/workflows/test-integrations-data-processing.yml index b6faef8079..72837f0999 100644 --- a/.github/workflows/test-integrations-data-processing.yml +++ b/.github/workflows/test-integrations-data-processing.yml @@ -120,12 +120,14 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + verbose: true - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} files: .junitxml + verbose: true test-data_processing-pinned: name: Data Processing (pinned) timeout-minutes: 30 @@ -226,12 +228,14 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + verbose: true - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} files: .junitxml + verbose: true check_required_tests: name: All Data Processing tests passed needs: test-data_processing-pinned diff --git a/.github/workflows/test-integrations-databases.yml b/.github/workflows/test-integrations-databases.yml index bebe6a9664..448c10162f 100644 --- a/.github/workflows/test-integrations-databases.yml +++ b/.github/workflows/test-integrations-databases.yml @@ -129,12 +129,14 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + verbose: true - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} files: .junitxml + verbose: true test-databases-pinned: name: Databases (pinned) timeout-minutes: 30 @@ -244,12 +246,14 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + verbose: true - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} files: .junitxml + verbose: true check_required_tests: name: All Databases tests passed needs: test-databases-pinned diff --git a/.github/workflows/test-integrations-graphql.yml b/.github/workflows/test-integrations-graphql.yml index be7c4211b7..fc27d8cca3 100644 --- a/.github/workflows/test-integrations-graphql.yml +++ b/.github/workflows/test-integrations-graphql.yml @@ -102,12 +102,14 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + verbose: true - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} files: .junitxml + verbose: true test-graphql-pinned: name: GraphQL (pinned) timeout-minutes: 30 @@ -190,12 +192,14 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + verbose: true - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} files: .junitxml + verbose: true check_required_tests: name: All GraphQL tests passed needs: test-graphql-pinned diff --git a/.github/workflows/test-integrations-miscellaneous.yml b/.github/workflows/test-integrations-miscellaneous.yml index c8f901fad7..65e25106be 100644 --- a/.github/workflows/test-integrations-miscellaneous.yml +++ b/.github/workflows/test-integrations-miscellaneous.yml @@ -106,12 +106,14 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + verbose: true - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} files: .junitxml + verbose: true test-miscellaneous-pinned: name: Miscellaneous (pinned) timeout-minutes: 30 @@ -198,12 +200,14 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + verbose: true - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} files: .junitxml + verbose: true check_required_tests: name: All Miscellaneous tests passed needs: test-miscellaneous-pinned diff --git a/.github/workflows/test-integrations-networking.yml b/.github/workflows/test-integrations-networking.yml index ece3daa63c..0e0ea18e15 100644 --- a/.github/workflows/test-integrations-networking.yml +++ b/.github/workflows/test-integrations-networking.yml @@ -102,12 +102,14 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + verbose: true - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} files: .junitxml + verbose: true test-networking-pinned: name: Networking (pinned) timeout-minutes: 30 @@ -190,12 +192,14 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + verbose: true - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} files: .junitxml + verbose: true check_required_tests: name: All Networking tests passed needs: test-networking-pinned diff --git a/.github/workflows/test-integrations-web-frameworks-1.yml b/.github/workflows/test-integrations-web-frameworks-1.yml index c21d8df728..d5aeb8c5ed 100644 --- a/.github/workflows/test-integrations-web-frameworks-1.yml +++ b/.github/workflows/test-integrations-web-frameworks-1.yml @@ -120,12 +120,14 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + verbose: true - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} files: .junitxml + verbose: true test-web_frameworks_1-pinned: name: Web Frameworks 1 (pinned) timeout-minutes: 30 @@ -226,12 +228,14 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + verbose: true - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} files: .junitxml + verbose: true check_required_tests: name: All Web Frameworks 1 tests passed needs: test-web_frameworks_1-pinned diff --git a/.github/workflows/test-integrations-web-frameworks-2.yml b/.github/workflows/test-integrations-web-frameworks-2.yml index 5ab61c654d..460c5a1db5 100644 --- a/.github/workflows/test-integrations-web-frameworks-2.yml +++ b/.github/workflows/test-integrations-web-frameworks-2.yml @@ -126,12 +126,14 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + verbose: true - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} files: .junitxml + verbose: true test-web_frameworks_2-pinned: name: Web Frameworks 2 (pinned) timeout-minutes: 30 @@ -238,12 +240,14 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + verbose: true - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} files: .junitxml + verbose: true check_required_tests: name: All Web Frameworks 2 tests passed needs: test-web_frameworks_2-pinned diff --git a/scripts/split-tox-gh-actions/templates/test_group.jinja b/scripts/split-tox-gh-actions/templates/test_group.jinja index 43bdf0be53..8f613c81a4 100644 --- a/scripts/split-tox-gh-actions/templates/test_group.jinja +++ b/scripts/split-tox-gh-actions/templates/test_group.jinja @@ -120,10 +120,12 @@ with: token: {% raw %}${{ secrets.CODECOV_TOKEN }}{% endraw %} files: coverage.xml + verbose: true - name: Upload test results to Codecov if: {% raw %}${{ !cancelled() }}{% endraw %} uses: codecov/test-results-action@v1 with: token: {% raw %}${{ secrets.CODECOV_TOKEN }}{% endraw %} - files: .junitxml \ No newline at end of file + files: .junitxml + verbose: true \ No newline at end of file From 476fe7e0140628b4e1eae9133b957216da76c96e Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Tue, 10 Sep 2024 17:00:47 +0200 Subject: [PATCH 15/17] Add plugin noop --- .github/workflows/test-integrations-ai.yml | 2 ++ .github/workflows/test-integrations-aws-lambda.yml | 1 + .github/workflows/test-integrations-cloud-computing.yml | 2 ++ .github/workflows/test-integrations-common.yml | 1 + .github/workflows/test-integrations-data-processing.yml | 2 ++ .github/workflows/test-integrations-databases.yml | 2 ++ .github/workflows/test-integrations-graphql.yml | 2 ++ .github/workflows/test-integrations-miscellaneous.yml | 2 ++ .github/workflows/test-integrations-networking.yml | 2 ++ .github/workflows/test-integrations-web-frameworks-1.yml | 2 ++ .github/workflows/test-integrations-web-frameworks-2.yml | 2 ++ scripts/split-tox-gh-actions/templates/test_group.jinja | 1 + 12 files changed, 21 insertions(+) diff --git a/.github/workflows/test-integrations-ai.yml b/.github/workflows/test-integrations-ai.yml index 868eda4604..808163dc60 100644 --- a/.github/workflows/test-integrations-ai.yml +++ b/.github/workflows/test-integrations-ai.yml @@ -107,6 +107,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml verbose: true + plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 @@ -201,6 +202,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml verbose: true + plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 diff --git a/.github/workflows/test-integrations-aws-lambda.yml b/.github/workflows/test-integrations-aws-lambda.yml index 63a932e701..2580fa13e0 100644 --- a/.github/workflows/test-integrations-aws-lambda.yml +++ b/.github/workflows/test-integrations-aws-lambda.yml @@ -126,6 +126,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml verbose: true + plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 diff --git a/.github/workflows/test-integrations-cloud-computing.yml b/.github/workflows/test-integrations-cloud-computing.yml index c7ded9bee7..4c58ee73bc 100644 --- a/.github/workflows/test-integrations-cloud-computing.yml +++ b/.github/workflows/test-integrations-cloud-computing.yml @@ -103,6 +103,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml verbose: true + plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 @@ -193,6 +194,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml verbose: true + plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 diff --git a/.github/workflows/test-integrations-common.yml b/.github/workflows/test-integrations-common.yml index cb05937961..cb7b2ee763 100644 --- a/.github/workflows/test-integrations-common.yml +++ b/.github/workflows/test-integrations-common.yml @@ -91,6 +91,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml verbose: true + plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 diff --git a/.github/workflows/test-integrations-data-processing.yml b/.github/workflows/test-integrations-data-processing.yml index 72837f0999..4a5686d473 100644 --- a/.github/workflows/test-integrations-data-processing.yml +++ b/.github/workflows/test-integrations-data-processing.yml @@ -121,6 +121,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml verbose: true + plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 @@ -229,6 +230,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml verbose: true + plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 diff --git a/.github/workflows/test-integrations-databases.yml b/.github/workflows/test-integrations-databases.yml index 448c10162f..3d1ed26aa5 100644 --- a/.github/workflows/test-integrations-databases.yml +++ b/.github/workflows/test-integrations-databases.yml @@ -130,6 +130,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml verbose: true + plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 @@ -247,6 +248,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml verbose: true + plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 diff --git a/.github/workflows/test-integrations-graphql.yml b/.github/workflows/test-integrations-graphql.yml index fc27d8cca3..2d9be0ca95 100644 --- a/.github/workflows/test-integrations-graphql.yml +++ b/.github/workflows/test-integrations-graphql.yml @@ -103,6 +103,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml verbose: true + plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 @@ -193,6 +194,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml verbose: true + plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 diff --git a/.github/workflows/test-integrations-miscellaneous.yml b/.github/workflows/test-integrations-miscellaneous.yml index 65e25106be..d93c229b67 100644 --- a/.github/workflows/test-integrations-miscellaneous.yml +++ b/.github/workflows/test-integrations-miscellaneous.yml @@ -107,6 +107,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml verbose: true + plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 @@ -201,6 +202,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml verbose: true + plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 diff --git a/.github/workflows/test-integrations-networking.yml b/.github/workflows/test-integrations-networking.yml index 0e0ea18e15..585e840092 100644 --- a/.github/workflows/test-integrations-networking.yml +++ b/.github/workflows/test-integrations-networking.yml @@ -103,6 +103,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml verbose: true + plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 @@ -193,6 +194,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml verbose: true + plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 diff --git a/.github/workflows/test-integrations-web-frameworks-1.yml b/.github/workflows/test-integrations-web-frameworks-1.yml index d5aeb8c5ed..b415d2ad5d 100644 --- a/.github/workflows/test-integrations-web-frameworks-1.yml +++ b/.github/workflows/test-integrations-web-frameworks-1.yml @@ -121,6 +121,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml verbose: true + plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 @@ -229,6 +230,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml verbose: true + plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 diff --git a/.github/workflows/test-integrations-web-frameworks-2.yml b/.github/workflows/test-integrations-web-frameworks-2.yml index 460c5a1db5..5370e1e0ea 100644 --- a/.github/workflows/test-integrations-web-frameworks-2.yml +++ b/.github/workflows/test-integrations-web-frameworks-2.yml @@ -127,6 +127,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml verbose: true + plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 @@ -241,6 +242,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml verbose: true + plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 diff --git a/scripts/split-tox-gh-actions/templates/test_group.jinja b/scripts/split-tox-gh-actions/templates/test_group.jinja index 8f613c81a4..d858712da6 100644 --- a/scripts/split-tox-gh-actions/templates/test_group.jinja +++ b/scripts/split-tox-gh-actions/templates/test_group.jinja @@ -121,6 +121,7 @@ token: {% raw %}${{ secrets.CODECOV_TOKEN }}{% endraw %} files: coverage.xml verbose: true + plugin: noop - name: Upload test results to Codecov if: {% raw %}${{ !cancelled() }}{% endraw %} From fb80e6fc9e619d23f6595cf607a18c9fca564f69 Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Wed, 11 Sep 2024 10:49:53 +0200 Subject: [PATCH 16/17] Cleanup --- .github/workflows/test-integrations-ai.yml | 48 ------------------- .../test-integrations-aws-lambda.yml | 24 ---------- .../test-integrations-cloud-computing.yml | 48 ------------------- .../workflows/test-integrations-common.yml | 24 ---------- .../test-integrations-data-processing.yml | 48 ------------------- .../workflows/test-integrations-databases.yml | 48 ------------------- .../workflows/test-integrations-graphql.yml | 48 ------------------- .../test-integrations-miscellaneous.yml | 48 ------------------- .../test-integrations-networking.yml | 48 ------------------- .../test-integrations-web-frameworks-1.yml | 48 ------------------- .../test-integrations-web-frameworks-2.yml | 48 ------------------- .../templates/test_group.jinja | 24 ---------- 12 files changed, 504 deletions(-) diff --git a/.github/workflows/test-integrations-ai.yml b/.github/workflows/test-integrations-ai.yml index 808163dc60..6cf5872521 100644 --- a/.github/workflows/test-integrations-ai.yml +++ b/.github/workflows/test-integrations-ai.yml @@ -68,38 +68,14 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | - set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | - set -x coverage combine .coverage-sentry-* coverage xml - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -163,38 +139,14 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | - set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | - set -x coverage combine .coverage-sentry-* coverage xml - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-aws-lambda.yml b/.github/workflows/test-integrations-aws-lambda.yml index 2580fa13e0..49eb1466f2 100644 --- a/.github/workflows/test-integrations-aws-lambda.yml +++ b/.github/workflows/test-integrations-aws-lambda.yml @@ -87,38 +87,14 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | - set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | - set -x coverage combine .coverage-sentry-* coverage xml - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-cloud-computing.yml b/.github/workflows/test-integrations-cloud-computing.yml index 4c58ee73bc..09183e1121 100644 --- a/.github/workflows/test-integrations-cloud-computing.yml +++ b/.github/workflows/test-integrations-cloud-computing.yml @@ -64,38 +64,14 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | - set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | - set -x coverage combine .coverage-sentry-* coverage xml - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -155,38 +131,14 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | - set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | - set -x coverage combine .coverage-sentry-* coverage xml - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-common.yml b/.github/workflows/test-integrations-common.yml index cb7b2ee763..6ef2ecc35f 100644 --- a/.github/workflows/test-integrations-common.yml +++ b/.github/workflows/test-integrations-common.yml @@ -52,38 +52,14 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | - set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | - set -x coverage combine .coverage-sentry-* coverage xml - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-data-processing.yml b/.github/workflows/test-integrations-data-processing.yml index 4a5686d473..eb3913a190 100644 --- a/.github/workflows/test-integrations-data-processing.yml +++ b/.github/workflows/test-integrations-data-processing.yml @@ -82,38 +82,14 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | - set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | - set -x coverage combine .coverage-sentry-* coverage xml - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -191,38 +167,14 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | - set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | - set -x coverage combine .coverage-sentry-* coverage xml - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-databases.yml b/.github/workflows/test-integrations-databases.yml index 3d1ed26aa5..09717b4d48 100644 --- a/.github/workflows/test-integrations-databases.yml +++ b/.github/workflows/test-integrations-databases.yml @@ -91,38 +91,14 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | - set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | - set -x coverage combine .coverage-sentry-* coverage xml - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -209,38 +185,14 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | - set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | - set -x coverage combine .coverage-sentry-* coverage xml - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-graphql.yml b/.github/workflows/test-integrations-graphql.yml index 2d9be0ca95..8fae3f190d 100644 --- a/.github/workflows/test-integrations-graphql.yml +++ b/.github/workflows/test-integrations-graphql.yml @@ -64,38 +64,14 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | - set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | - set -x coverage combine .coverage-sentry-* coverage xml - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -155,38 +131,14 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | - set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | - set -x coverage combine .coverage-sentry-* coverage xml - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-miscellaneous.yml b/.github/workflows/test-integrations-miscellaneous.yml index d93c229b67..b54c5fdf1a 100644 --- a/.github/workflows/test-integrations-miscellaneous.yml +++ b/.github/workflows/test-integrations-miscellaneous.yml @@ -68,38 +68,14 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | - set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | - set -x coverage combine .coverage-sentry-* coverage xml - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -163,38 +139,14 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | - set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | - set -x coverage combine .coverage-sentry-* coverage xml - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-networking.yml b/.github/workflows/test-integrations-networking.yml index 585e840092..22c079079a 100644 --- a/.github/workflows/test-integrations-networking.yml +++ b/.github/workflows/test-integrations-networking.yml @@ -64,38 +64,14 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | - set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | - set -x coverage combine .coverage-sentry-* coverage xml - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -155,38 +131,14 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | - set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | - set -x coverage combine .coverage-sentry-* coverage xml - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-web-frameworks-1.yml b/.github/workflows/test-integrations-web-frameworks-1.yml index b415d2ad5d..cbf33c578d 100644 --- a/.github/workflows/test-integrations-web-frameworks-1.yml +++ b/.github/workflows/test-integrations-web-frameworks-1.yml @@ -82,38 +82,14 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | - set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | - set -x coverage combine .coverage-sentry-* coverage xml - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -191,38 +167,14 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | - set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | - set -x coverage combine .coverage-sentry-* coverage xml - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/.github/workflows/test-integrations-web-frameworks-2.yml b/.github/workflows/test-integrations-web-frameworks-2.yml index 5370e1e0ea..9f4cb5e8a6 100644 --- a/.github/workflows/test-integrations-web-frameworks-2.yml +++ b/.github/workflows/test-integrations-web-frameworks-2.yml @@ -88,38 +88,14 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | - set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | - set -x coverage combine .coverage-sentry-* coverage xml - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 @@ -203,38 +179,14 @@ jobs: - name: Generate coverage XML (Python 3.6) if: ${{ !cancelled() && matrix.python-version == '3.6' }} run: | - set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: ${{ !cancelled() && matrix.python-version != '3.6' }} run: | - set -x coverage combine .coverage-sentry-* coverage xml - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v4.5.0 diff --git a/scripts/split-tox-gh-actions/templates/test_group.jinja b/scripts/split-tox-gh-actions/templates/test_group.jinja index d858712da6..3dadb98c62 100644 --- a/scripts/split-tox-gh-actions/templates/test_group.jinja +++ b/scripts/split-tox-gh-actions/templates/test_group.jinja @@ -80,39 +80,15 @@ - name: Generate coverage XML (Python 3.6) if: {% raw %}${{ !cancelled() && matrix.python-version == '3.6' }}{% endraw %} run: | - set -x export COVERAGE_RCFILE=.coveragerc36 coverage combine .coverage-sentry-* coverage xml --ignore-errors - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Generate coverage XML if: {% raw %}${{ !cancelled() && matrix.python-version != '3.6' }}{% endraw %} run: | - set -x coverage combine .coverage-sentry-* coverage xml - echo "api.py in report:" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml - echo "finding a line that should not be in there" - grep "\"sentry_sdk/api.py" -A 20 coverage.xml | grep "number=\"20\"" > bla.txt || true - echo "content of bla.txt:" - cat bla.txt - echo "delete bla.txt if empty" - [ ! -s bla.txt ] && rm bla.txt - ls - echo "if bla.txt is still there, exit with error" - [ -f bla.txt ] && exit 1 || true - name: Upload coverage to Codecov if: {% raw %}${{ !cancelled() }}{% endraw %} From b91b4f3ce4a62573c2ebaeb4deb68de9bbcdec80 Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Wed, 11 Sep 2024 10:52:08 +0200 Subject: [PATCH 17/17] Cleanup --- .github/workflows/test-integrations-ai.yml | 6 ++++-- .github/workflows/test-integrations-aws-lambda.yml | 3 ++- .github/workflows/test-integrations-cloud-computing.yml | 6 ++++-- .github/workflows/test-integrations-common.yml | 3 ++- .github/workflows/test-integrations-data-processing.yml | 6 ++++-- .github/workflows/test-integrations-databases.yml | 6 ++++-- .github/workflows/test-integrations-graphql.yml | 6 ++++-- .github/workflows/test-integrations-miscellaneous.yml | 6 ++++-- .github/workflows/test-integrations-networking.yml | 6 ++++-- .github/workflows/test-integrations-web-frameworks-1.yml | 6 ++++-- .github/workflows/test-integrations-web-frameworks-2.yml | 6 ++++-- scripts/split-tox-gh-actions/templates/test_group.jinja | 3 ++- 12 files changed, 42 insertions(+), 21 deletions(-) diff --git a/.github/workflows/test-integrations-ai.yml b/.github/workflows/test-integrations-ai.yml index 6cf5872521..18b6e8e641 100644 --- a/.github/workflows/test-integrations-ai.yml +++ b/.github/workflows/test-integrations-ai.yml @@ -82,8 +82,9 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + # make sure no plugins alter our coverage reports + plugin: noop verbose: true - plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 @@ -153,8 +154,9 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + # make sure no plugins alter our coverage reports + plugin: noop verbose: true - plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 diff --git a/.github/workflows/test-integrations-aws-lambda.yml b/.github/workflows/test-integrations-aws-lambda.yml index 49eb1466f2..72ffee0492 100644 --- a/.github/workflows/test-integrations-aws-lambda.yml +++ b/.github/workflows/test-integrations-aws-lambda.yml @@ -101,8 +101,9 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + # make sure no plugins alter our coverage reports + plugin: noop verbose: true - plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 diff --git a/.github/workflows/test-integrations-cloud-computing.yml b/.github/workflows/test-integrations-cloud-computing.yml index 09183e1121..3fdc46f88b 100644 --- a/.github/workflows/test-integrations-cloud-computing.yml +++ b/.github/workflows/test-integrations-cloud-computing.yml @@ -78,8 +78,9 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + # make sure no plugins alter our coverage reports + plugin: noop verbose: true - plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 @@ -145,8 +146,9 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + # make sure no plugins alter our coverage reports + plugin: noop verbose: true - plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 diff --git a/.github/workflows/test-integrations-common.yml b/.github/workflows/test-integrations-common.yml index 6ef2ecc35f..a64912b14d 100644 --- a/.github/workflows/test-integrations-common.yml +++ b/.github/workflows/test-integrations-common.yml @@ -66,8 +66,9 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + # make sure no plugins alter our coverage reports + plugin: noop verbose: true - plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 diff --git a/.github/workflows/test-integrations-data-processing.yml b/.github/workflows/test-integrations-data-processing.yml index eb3913a190..b38c9179e1 100644 --- a/.github/workflows/test-integrations-data-processing.yml +++ b/.github/workflows/test-integrations-data-processing.yml @@ -96,8 +96,9 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + # make sure no plugins alter our coverage reports + plugin: noop verbose: true - plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 @@ -181,8 +182,9 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + # make sure no plugins alter our coverage reports + plugin: noop verbose: true - plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 diff --git a/.github/workflows/test-integrations-databases.yml b/.github/workflows/test-integrations-databases.yml index 09717b4d48..cc93461b6a 100644 --- a/.github/workflows/test-integrations-databases.yml +++ b/.github/workflows/test-integrations-databases.yml @@ -105,8 +105,9 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + # make sure no plugins alter our coverage reports + plugin: noop verbose: true - plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 @@ -199,8 +200,9 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + # make sure no plugins alter our coverage reports + plugin: noop verbose: true - plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 diff --git a/.github/workflows/test-integrations-graphql.yml b/.github/workflows/test-integrations-graphql.yml index 8fae3f190d..39b4aa5449 100644 --- a/.github/workflows/test-integrations-graphql.yml +++ b/.github/workflows/test-integrations-graphql.yml @@ -78,8 +78,9 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + # make sure no plugins alter our coverage reports + plugin: noop verbose: true - plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 @@ -145,8 +146,9 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + # make sure no plugins alter our coverage reports + plugin: noop verbose: true - plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 diff --git a/.github/workflows/test-integrations-miscellaneous.yml b/.github/workflows/test-integrations-miscellaneous.yml index b54c5fdf1a..369e6afd87 100644 --- a/.github/workflows/test-integrations-miscellaneous.yml +++ b/.github/workflows/test-integrations-miscellaneous.yml @@ -82,8 +82,9 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + # make sure no plugins alter our coverage reports + plugin: noop verbose: true - plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 @@ -153,8 +154,9 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + # make sure no plugins alter our coverage reports + plugin: noop verbose: true - plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 diff --git a/.github/workflows/test-integrations-networking.yml b/.github/workflows/test-integrations-networking.yml index 22c079079a..cb032f0ef4 100644 --- a/.github/workflows/test-integrations-networking.yml +++ b/.github/workflows/test-integrations-networking.yml @@ -78,8 +78,9 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + # make sure no plugins alter our coverage reports + plugin: noop verbose: true - plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 @@ -145,8 +146,9 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + # make sure no plugins alter our coverage reports + plugin: noop verbose: true - plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 diff --git a/.github/workflows/test-integrations-web-frameworks-1.yml b/.github/workflows/test-integrations-web-frameworks-1.yml index cbf33c578d..f6a94e6d08 100644 --- a/.github/workflows/test-integrations-web-frameworks-1.yml +++ b/.github/workflows/test-integrations-web-frameworks-1.yml @@ -96,8 +96,9 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + # make sure no plugins alter our coverage reports + plugin: noop verbose: true - plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 @@ -181,8 +182,9 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + # make sure no plugins alter our coverage reports + plugin: noop verbose: true - plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 diff --git a/.github/workflows/test-integrations-web-frameworks-2.yml b/.github/workflows/test-integrations-web-frameworks-2.yml index 9f4cb5e8a6..0a66e98d3d 100644 --- a/.github/workflows/test-integrations-web-frameworks-2.yml +++ b/.github/workflows/test-integrations-web-frameworks-2.yml @@ -102,8 +102,9 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + # make sure no plugins alter our coverage reports + plugin: noop verbose: true - plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 @@ -193,8 +194,9 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + # make sure no plugins alter our coverage reports + plugin: noop verbose: true - plugin: noop - name: Upload test results to Codecov if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 diff --git a/scripts/split-tox-gh-actions/templates/test_group.jinja b/scripts/split-tox-gh-actions/templates/test_group.jinja index 3dadb98c62..66834f9ef2 100644 --- a/scripts/split-tox-gh-actions/templates/test_group.jinja +++ b/scripts/split-tox-gh-actions/templates/test_group.jinja @@ -96,8 +96,9 @@ with: token: {% raw %}${{ secrets.CODECOV_TOKEN }}{% endraw %} files: coverage.xml + # make sure no plugins alter our coverage reports + plugin: noop verbose: true - plugin: noop - name: Upload test results to Codecov if: {% raw %}${{ !cancelled() }}{% endraw %}