Commit e9b74e1 1 parent b3f5cee commit e9b74e1 Copy full SHA for e9b74e1
File tree 3 files changed +6
-5
lines changed
3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -61,19 +61,18 @@ jobs:
61
61
- name : " Install Ruby dependencies"
62
62
run : |
63
63
gem install bashcov
64
- gem install codecov
64
+ gem install simplecov-cobertura
65
65
- name : " Set up PHP"
66
66
uses : " shivammathur/setup-php@v2"
67
67
with :
68
68
php-version : " latest"
69
- tools : " composer:v2"
70
69
coverage : " none"
71
70
- name : " Run expect tests"
72
71
run : " bashcov --root ./bin -- ./tests/test_helper/bats/bin/bats tests/"
73
72
- name : " Publish coverage report to Codecov"
74
73
uses : " codecov/codecov-action@v5"
75
74
with :
76
- files : " ./bin/coverage/codecov-result.json "
75
+ files : " ./bin/coverage/coverage.xml "
77
76
78
77
static-analysis :
79
78
name : " Static analysis"
Original file line number Diff line number Diff line change 1
1
** /vendor /
2
+ /bin /coverage /
2
3
/coverage /
3
4
/tests /expect /** .txt
Original file line number Diff line number Diff line change 1
- require 'codecov'
2
1
require 'simplecov'
2
+ require 'simplecov-cobertura'
3
3
4
- SimpleCov . formatter = Codecov ::SimpleCov ::Formatter
4
+ # Creates a `coverage/coverage.xml` file
5
+ SimpleCov . formatter = SimpleCov ::Formatter ::CoberturaFormatter
You can’t perform that action at this time.
0 commit comments