Skip to content

Make use of GHA features #90

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 14, 2025
Merged

Make use of GHA features #90

merged 1 commit into from
Apr 14, 2025

Conversation

szepeviktor
Copy link
Contributor

Please see comments below.

php: ['8.0', '8.1', '8.3', '8.4']
include:
- php: '8.2'
coverage: 'true'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Introduce a variable for coverage generation.

@@ -19,31 +22,27 @@ jobs:
with:
php-version: ${{ matrix.php }}
extensions: mbstring, json
coverage: xdebug
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
Copy link
Contributor Author

@szepeviktor szepeviktor Apr 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Run all other unit tests faster.
image

php-coveralls -v
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: composer update --no-interaction
Copy link
Contributor Author

@szepeviktor szepeviktor Apr 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do not have a lock file, install emits a warning.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 14442059695

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 13 unchanged lines in 4 files lost coverage.
  • Overall coverage decreased (-0.2%) to 98.564%

Files with Coverage Reduction New Missed Lines %
src/Model/GeneratorConfiguration.php 1 96.7%
src/Model/Schema.php 1 94.74%
src/Model/Validator/MultiTypeCheckValidator.php 1 88.89%
src/Model/Property/PropertyProxy.php 10 64.29%
Totals Coverage Status
Change from base Build 14440325337: -0.2%
Covered Lines: 3295
Relevant Lines: 3343

💛 - Coveralls

@wol-soft wol-soft merged commit 61f2240 into wol-soft:master Apr 14, 2025
6 of 7 checks passed
@wol-soft
Copy link
Owner

Thanks for the improvements!

@szepeviktor
Copy link
Contributor Author

Glad to contribute.

@szepeviktor szepeviktor deleted the patch-1 branch April 14, 2025 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants