Skip to content

Commit

Permalink
Fix unit tests workflow not executing coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazzap committed Oct 22, 2024
1 parent 3f29f62 commit 8fb69ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
php-ver: [ '8.3', '8.4' ]
steps:
- name: Set "USE_COVERAGE" env var based on matrix
run: echo "USE_COVERAGE=${{ matrix.php-ver == '8.3' }}" >> $GITHUB_ENV
run: echo "USE_COVERAGE=${{ ((matrix.php-ver == '8.3') && 'yes') || 'no' }}" >> $GITHUB_ENV

- name: Checkout
uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@

[![Static Analysis](https://github.com/Toobo/bcp47/actions/workflows/static-analysis.yml/badge.svg)](https://github.com/Toobo/bcp47/actions/workflows/static-analysis.yml)
[![Unit Tests](https://github.com/Toobo/bcp47/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/Toobo/bcp47/actions/workflows/unit-tests.yml)
[![Mutation Tests](https://img.shields.io/badge/Mutation_Tests-Min_Covered_MSI_95%25-%2331C553?style=flat&logo=php&logoColor=%23F0F0F0)](https://github.com/Toobo/bcp47/actions/workflows/mutation-tests.yml)
![Mutation Tests](https://img.shields.io/badge/PHP_8.3%2B-blue?style=flat&logo=php&logoColor=white&labelColor=black)
[![Mutation Tests](https://img.shields.io/badge/Mutation_Tests-Min_Covered_MSI_95%25-blue?style=flat&logo=php&logoColor=white&labelColor=black)](https://github.com/Toobo/bcp47/actions/workflows/mutation-tests.yml)

---

Expand Down

0 comments on commit 8fb69ad

Please sign in to comment.