From 6314de676511e7d55489a9bfb3f91e2d1e349733 Mon Sep 17 00:00:00 2001 From: Neel Shah Date: Thu, 5 Oct 2023 14:26:21 +0200 Subject: [PATCH 1/2] Try codecov components --- codecov.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/codecov.yml b/codecov.yml index 06da66193..3dd8085c8 100644 --- a/codecov.yml +++ b/codecov.yml @@ -2,3 +2,25 @@ codecov: disable_default_path_fixes: true ignore: - "**/spec" +comment: + layout: "header, diff, flags, components, tree" +component_management: + individual_components: + - component_id: "sentry-ruby" + paths: + - "sentry-ruby/" + - component_id: "sentry-rails" + paths: + - "sentry-rails/" + - component_id: "sentry-sidekiq" + paths: + - "sentry-sidekiq/" + - component_id: "sentry-resque" + paths: + - "sentry-resque/" + - component_id: "sentry-delayed_job" + paths: + - "sentry-delayed_job/" + - component_id: "sentry-opentelemetry" + paths: + - "sentry-opentelemetry/" From a27f12ee686cbfae406e2f1e5c1ae03cc93d7533 Mon Sep 17 00:00:00 2001 From: Neel Shah Date: Thu, 5 Oct 2023 15:06:44 +0200 Subject: [PATCH 2/2] Try action --- .github/workflows/sentry_delayed_job_test.yml | 5 +---- .github/workflows/sentry_opentelemetry_test.yml | 5 +---- .github/workflows/sentry_rails_test.yml | 5 +---- .github/workflows/sentry_resque_test.yml | 5 +---- .github/workflows/sentry_ruby_test.yml | 5 +---- .github/workflows/sentry_sidekiq_test.yml | 5 +---- 6 files changed, 6 insertions(+), 24 deletions(-) diff --git a/.github/workflows/sentry_delayed_job_test.yml b/.github/workflows/sentry_delayed_job_test.yml index 284112550..1e12f4344 100644 --- a/.github/workflows/sentry_delayed_job_test.yml +++ b/.github/workflows/sentry_delayed_job_test.yml @@ -50,7 +50,4 @@ jobs: - name: Upload Coverage if: ${{ matrix.options.codecov }} - run: | - curl -Os https://uploader.codecov.io/latest/linux/codecov - chmod +x codecov - ./codecov -t ${CODECOV_TOKEN} -R `pwd` -f coverage/coverage.xml + uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d diff --git a/.github/workflows/sentry_opentelemetry_test.yml b/.github/workflows/sentry_opentelemetry_test.yml index 888d4d951..dc4d2b2b2 100644 --- a/.github/workflows/sentry_opentelemetry_test.yml +++ b/.github/workflows/sentry_opentelemetry_test.yml @@ -45,7 +45,4 @@ jobs: - name: Upload Coverage if: ${{ matrix.options.codecov }} - run: | - curl -Os https://uploader.codecov.io/latest/linux/codecov - chmod +x codecov - ./codecov -t ${CODECOV_TOKEN} -R `pwd` -f coverage/coverage.xml + uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d diff --git a/.github/workflows/sentry_rails_test.yml b/.github/workflows/sentry_rails_test.yml index 75f21fbe1..e070c15ba 100644 --- a/.github/workflows/sentry_rails_test.yml +++ b/.github/workflows/sentry_rails_test.yml @@ -85,7 +85,4 @@ jobs: - name: Upload Coverage if: ${{ matrix.options.codecov }} - run: | - curl -Os https://uploader.codecov.io/latest/linux/codecov - chmod +x codecov - ./codecov -t ${CODECOV_TOKEN} -R `pwd` -f coverage/coverage.xml + uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d diff --git a/.github/workflows/sentry_resque_test.yml b/.github/workflows/sentry_resque_test.yml index aacd233b5..c464e9dc9 100644 --- a/.github/workflows/sentry_resque_test.yml +++ b/.github/workflows/sentry_resque_test.yml @@ -48,7 +48,4 @@ jobs: - name: Upload Coverage if: ${{ matrix.options.codecov }} - run: | - curl -Os https://uploader.codecov.io/latest/linux/codecov - chmod +x codecov - ./codecov -t ${CODECOV_TOKEN} -R `pwd` -f coverage/coverage.xml + uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d diff --git a/.github/workflows/sentry_ruby_test.yml b/.github/workflows/sentry_ruby_test.yml index bcb7144b2..a3147c8a5 100644 --- a/.github/workflows/sentry_ruby_test.yml +++ b/.github/workflows/sentry_ruby_test.yml @@ -80,7 +80,4 @@ jobs: - name: Upload Coverage if: ${{ matrix.options.codecov }} - run: | - curl -Os https://uploader.codecov.io/latest/linux/codecov - chmod +x codecov - ./codecov -t ${CODECOV_TOKEN} -R `pwd` -f coverage/coverage.xml + uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d diff --git a/.github/workflows/sentry_sidekiq_test.yml b/.github/workflows/sentry_sidekiq_test.yml index ae243b021..195978c08 100644 --- a/.github/workflows/sentry_sidekiq_test.yml +++ b/.github/workflows/sentry_sidekiq_test.yml @@ -59,7 +59,4 @@ jobs: - name: Upload Coverage if: ${{ matrix.options.codecov }} - run: | - curl -Os https://uploader.codecov.io/latest/linux/codecov - chmod +x codecov - ./codecov -t ${CODECOV_TOKEN} -R `pwd` -f coverage/coverage.xml + uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d