Skip to content

Commit

Permalink
[BUGFIX] Recover removed tests from CI
Browse files Browse the repository at this point in the history
Rebase fuckup, oopsie whoopsie...
  • Loading branch information
andreaskienast committed Oct 7, 2024
1 parent 216f8ee commit 464b214
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
with:
php-version: ${{ matrix.php }}
extensions: mbstring, xml, ctype, iconv
coverage: none
coverage: pcov

- name: Cache composer dependencies
uses: actions/cache@v4
Expand All @@ -58,3 +58,17 @@ jobs:
run: |
git status
git status | grep -q "nothing to commit, working tree clean"
- name: Tests
run: |
php -dpcov.enabled=1 -dpcov.directory="." -dxdebug.mode="coverage" ./vendor/bin/phpunit -c build/phpunit.xml.dist --log-junit var/log/junit/phpunit.junit.xml --coverage-clover var/log/junit/coverage.xml --coverage-xml var/log/junit/coverage-xml/
env:
COMPOSER_PROCESS_TIMEOUT: 1200

- name: Upload coverage results to Coveralls
continue-on-error: true
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
composer global require php-coveralls/php-coveralls --no-progress --no-suggest --no-interaction
/home/runner/.composer/vendor/bin/php-coveralls -c build/.coveralls.yml -vvv --json_path=var/log/coveralls-upload.json

0 comments on commit 464b214

Please sign in to comment.