Skip to content

Commit

Permalink
Upload coverage from all test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
solnic committed Oct 16, 2024
1 parent d134d9e commit 5e36ec7
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 13 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/sentry_opentelemetry_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
rubyopt: "--enable-frozen-string-literal --debug=frozen-string-literal",
},
}
- { ruby_version: 3.2, options: { codecov: 1 } }
steps:
- uses: actions/checkout@v1

Expand All @@ -57,7 +56,6 @@ jobs:
run: bundle exec rake

- name: Upload Coverage
if: ${{ matrix.options.codecov }}
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
4 changes: 1 addition & 3 deletions .github/workflows/sentry_rails_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ jobs:
}
- {
ruby_version: "3.2",
rails_version: 7.1.0,
options: { codecov: 1 },
rails_version: 7.1.0
}
steps:
- uses: actions/checkout@v1
Expand All @@ -83,7 +82,6 @@ jobs:
run: bundle exec rake

- name: Upload Coverage
if: ${{ matrix.options.codecov }}
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 0 additions & 2 deletions .github/workflows/sentry_resque_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
rubyopt: "--enable-frozen-string-literal --debug=frozen-string-literal",
},
}
- { ruby_version: "3.2", options: { codecov: 1 } }
steps:
- uses: actions/checkout@v1
- name: Set up Ruby ${{ matrix.ruby_version }}
Expand All @@ -66,7 +65,6 @@ jobs:
run: bundle exec rake

- name: Upload Coverage
if: ${{ matrix.options.codecov }}
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
4 changes: 1 addition & 3 deletions .github/workflows/sentry_ruby_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ jobs:
- {
ruby_version: 3.3,
rack_version: 3.1,
redis_rb_version: 5.3,
options: { codecov: 1 },
redis_rb_version: 5.3
}
steps:
- uses: actions/checkout@v1
Expand All @@ -78,7 +77,6 @@ jobs:
run: bundle exec rake

- name: Upload Coverage
if: ${{ matrix.options.codecov }}
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
4 changes: 1 addition & 3 deletions .github/workflows/sentry_sidekiq_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ jobs:
}
- {
ruby_version: "3.2",
sidekiq_version: 7.0,
options: { codecov: 1 },
sidekiq_version: 7.0
}
steps:
- uses: actions/checkout@v1
Expand All @@ -71,7 +70,6 @@ jobs:
run: bundle exec rake

- name: Upload Coverage
if: ${{ matrix.options.codecov }}
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 5e36ec7

Please sign in to comment.