File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 40
40
41
41
- name : Generate coverage
42
42
env :
43
- LLVM_PROFILE_FILE : " strftime-%m.profraw"
43
+ LLVM_PROFILE_FILE : " strftime-ruby- %m.profraw"
44
44
RUSTFLAGS : " -C instrument-coverage"
45
45
# Unstable feature: https://github.com/rust-lang/rust/issues/56925
46
46
RUSTDOCFLAGS : " -C instrument-coverage -Z unstable-options --persist-doctests target/debug/doctests"
@@ -49,18 +49,18 @@ jobs:
49
49
cargo +nightly test --doc
50
50
51
51
- name : Generate HTML report
52
- run : grcov strftime*.profraw --source-dir . --binary-path target/debug -t html --filter covered -o target/coverage
52
+ run : grcov strftime-ruby *.profraw --source-dir . --binary-path target/debug -t html --filter covered -o target/coverage
53
53
54
54
- name : Generate detailed JSON report
55
- run : grcov strftime*.profraw --source-dir . --binary-path target/debug -t covdir --filter covered -o target/coverage/coverage.json
55
+ run : grcov strftime-ruby *.profraw --source-dir . --binary-path target/debug -t covdir --filter covered -o target/coverage/coverage.json
56
56
57
57
- name : Configure AWS Credentials
58
58
uses : aws-actions/configure-aws-credentials@master
59
59
if : github.ref == 'refs/heads/trunk'
60
60
with :
61
61
aws-region : us-west-2
62
62
role-to-assume : arn:aws:iam::447522982029:role/gha-strftime-ruby-s3-backup-20220817011212567800000002
63
- role-session-name : GitHubActionsSession@codecov
63
+ role-session-name : GitHubActionsRustCodeCoverage@strftime-ruby
64
64
65
65
- name : Show AWS caller identity
66
66
if : github.ref == 'refs/heads/trunk'
You can’t perform that action at this time.
0 commit comments