Commit 3d04f595 authored by Smolevich's avatar Smolevich

Add php-coveralls/php-coveralls, use coverallsapp/github-action@master as action

parent ffb56983
...@@ -23,5 +23,14 @@ jobs: ...@@ -23,5 +23,14 @@ jobs:
- name: Build docker images - name: Build docker images
run: | run: |
docker-compose build --build-arg PHP_VERSION=${{ matrix.php }} docker-compose build --build-arg PHP_VERSION=${{ matrix.php }}
- name: Install dependencies
run: |
docker-compose run --rm tests composer install --no-interaction docker-compose run --rm tests composer install --no-interaction
- name: Generating code coverage
run: |
docker-compose run --rm tests ./vendor/bin/phpunit --coverage-clover ./clover.xml docker-compose run --rm tests ./vendor/bin/phpunit --coverage-clover ./clover.xml
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
path-to-lcov: ./clover.xml
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
"orchestra/testbench": "^3.1|^4.0", "orchestra/testbench": "^3.1|^4.0",
"mockery/mockery": "^1.0", "mockery/mockery": "^1.0",
"satooshi/php-coveralls": "^2.0", "satooshi/php-coveralls": "^2.0",
"php-coveralls/php-coveralls": "^2.1",
"doctrine/dbal": "^2.5" "doctrine/dbal": "^2.5"
}, },
"autoload": { "autoload": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment