Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests results to Codecov #24

Merged
merged 1 commit into from
Dec 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,12 @@ jobs:

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
directory: test/reports
token: ${{ secrets.CODECOV_TOKEN }}
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ ruby file: ".ruby-version"
group :development do
# bootstrapping
gem "minitest", "~> 5.0"
gem "minitest-ci"
gem "rake", "~> 13.0"

# rubocop
Expand Down
5 changes: 4 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ GEM
rb-inotify (~> 0.9, >= 0.9.10)
logger (1.6.4)
minitest (5.25.4)
minitest-ci (3.4.0)
minitest (>= 5.0.6)
overcommit (0.64.1)
childprocess (>= 0.6.3, < 6)
iniparse (~> 1.4)
Expand Down Expand Up @@ -119,6 +121,7 @@ PLATFORMS

DEPENDENCIES
minitest (~> 5.0)
minitest-ci
overcommit
rake (~> 13.0)
rbs (~> 3.0)
Expand All @@ -132,7 +135,7 @@ DEPENDENCIES
steep

RUBY VERSION
ruby 3.3.6p108
ruby 3.4.1p0

BUNDLED WITH
2.5.4
1 change: 1 addition & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@
SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter

require "minitest/autorun"
require "minitest/ci"
Loading