Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/check-cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
coverage: "none"
ini-values: memory_limit=-1,apc.enable_cli=1,zend.assertions=1
php-version: "7.4"
tools: flex

- name: Install dependencies
run: composer install

Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
coverage: "none"
ini-values: memory_limit=-1,apc.enable_cli=1,zend.assertions=1
php-version: "7.4"
tools: flex

- name: Install dependencies
run: composer install

Expand Down
29 changes: 4 additions & 25 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ defaults:
run:
shell: bash

permissions:
contents: read

jobs:
tests:
name: Tests
Expand Down Expand Up @@ -36,28 +39,4 @@ jobs:
run: composer install

- name: Run tests
run: vendor/bin/phpunit --colors=always --log-junit=test-results.xml

- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v2
with:
name: Unit Test Results (PHP ${{ matrix.php }})
path: test-results.xml

publish-test-results:
name: "Publish Unit Tests Results"
needs: tests
runs-on: ubuntu-20.04
if: always()

steps:
- name: Download Artifacts
uses: actions/download-artifact@v2
with:
path: artifacts

- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
with:
files: artifacts/**/*.xml
run: vendor/bin/phpunit --colors=always
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

There are next changes:

- Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows ([#41](https://github.com/mougrim/php-xdebug-proxy/pull/41))

### [v0.5.0]

There are next changes:
Expand Down