Skip to content

Commit

Permalink
disable running code coverage on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
hafezdivandari committed Jan 22, 2025
1 parent 53fbe69 commit 6371edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ jobs:
run: vendor/bin/phpunit --coverage-clover=coverage.clover

- name: Code coverage
if: ${{ github.ref == 'refs/heads/master' && github.repository == 'thephpleague/oauth2-server' }}
if: ${{ github.ref == 'refs/heads/master' && github.repository == 'thephpleague/oauth2-server' && startsWith(matrix.os, 'ubuntu') }}
run:
~/.composer/vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover

0 comments on commit 6371edd

Please sign in to comment.