Skip to content

Commit

Permalink
House cleaning (#53)
Browse files Browse the repository at this point in the history
* House cleaning

* Added spacing

* revert

---------

Co-authored-by: Martin Helmich <[email protected]>
  • Loading branch information
martinssipenko and martin-helmich authored May 20, 2024
1 parent 2ac7612 commit f895811
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
* text=auto eol=lf

.gitattributes export-ignore
.codeclimate.yml export-ignore
.github export-ignore
.gitattributes export-ignore
.github/ export-ignore
.gitignore export-ignore
.travis.yml export-ignore
phpunit.xml export-ignore
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
phpunit: '11.0'
runs-on: ubuntu-latest
name: PHP ${{ matrix.php }}, PHPUnit ${{ matrix.phpunit }}

steps:
- uses: actions/checkout@v1

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand All @@ -35,6 +35,7 @@ jobs:
ini-values: error_reporting=E_ALL
coverage: pcov
tools: composer:v2

- name: Validate composer.json and composer.lock
run: composer validate

Expand All @@ -47,6 +48,6 @@ jobs:

#- name: Run type checker
# run: ./vendor/bin/psalm

- name: Run unit tests
run: ./vendor/bin/phpunit --testdox --no-coverage
6 changes: 3 additions & 3 deletions .github/workflows/php_coverage.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Unit tests
name: Code coverage

on:
push:
Expand All @@ -17,10 +17,10 @@ jobs:
php-version: 8.3
extensions: mbstring, intl, json
coverage: pcov

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest

- name: Test & publish code coverage
uses: paambaati/[email protected]
env:
Expand Down

0 comments on commit f895811

Please sign in to comment.