Skip to content

Commit 4e10b9c

Browse files
committed
More testing
1 parent ed503a0 commit 4e10b9c

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,27 @@ jobs:
2424
- name: Cache dependencies
2525
uses: actions/cache@v1
2626
with:
27-
path: ~/.composer/cache/files
27+
path: ~/.composer/cache
2828
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
2929

3030
- name: Setup PHP
3131
uses: shivammathur/setup-php@v2
3232
with:
3333
php-version: ${{ matrix.php }}
3434
#extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, gd
35-
coverage: none #TODO: set coverage
35+
coverage: pcov
3636

3737
#- name: Setup Memcached
3838
# uses: niden/actions-memcached@v7
3939

4040
- name: Install dependencies
41-
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction
41+
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-suggest
4242

4343
- name: Execute tests
44-
run: phpdbg -qrr vendor/bin/phpunit --coverage-clover=coverage.clover --verbose
44+
run: vendor/bin/phpunit --verbose
45+
46+
#- name: Upload Code Coverage
47+
# run: wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.clover
4548

4649
#env:
4750
# DB_PORT: ${{ job.services.mysql.ports[3306] }}

0 commit comments

Comments
 (0)