Skip to content

Commit e512c42

Browse files
authored
Merge pull request #188 from puppetlabs/MODULES-11965-simplecov
Set SIMPLECOV=yes on the Codecov lane in module_ci
2 parents 357de29 + 63e4e07 commit e512c42

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎.github/workflows/module_ci.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@ jobs:
184184
bundle exec dependency-checker metadata.json
185185
186186
- name: "Run tests"
187+
env:
188+
# Generate coverage/.resultset.json for the Codecov upload below (same condition).
189+
SIMPLECOV: ${{ (inputs.runs_on == 'ubuntu-latest' && matrix.ruby_version == '3.2' && env.CODECOV_TOKEN != '') && 'yes' || 'no' }}
187190
run: |
188191
bundle exec rake parallel_spec
189192

0 commit comments

Comments
 (0)