Commit 0f147879 authored by Smolevich's avatar Smolevich

Update blank.yml

parent b5babda8
...@@ -36,16 +36,13 @@ jobs: ...@@ -36,16 +36,13 @@ jobs:
docker-compose run --rm tests composer install --no-interaction docker-compose run --rm tests composer install --no-interaction
- name: Generating code coverage - name: Generating code coverage
run: | run: |
docker-compose run --rm tests mkdir -p build/logs mkdir -p build/logs
docker-compose run --rm tests ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- name: Send coveralls
run: |
docker-compose run --rm tests mkdir -p build/logs docker-compose run --rm tests mkdir -p build/logs
docker-compose run --rm \ docker-compose run --rm \
-e COVERALLS_REPO_TOKEN=${COVERALLS_REPO_TOKEN} \ tests ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
-e COVERALLS_RUN_LOCALLY=${COVERALLS_RUN_LOCALLY} \ ls -alt build/logs
tests \ - name: Send coveralls
vendor/bin/php-coveralls -v run: php vendor/bin/php-coveralls -v
env: env:
COVERALLS_RUN_LOCALLY: ${{secrets.COVERALLS_RUN_LOCALLY}} COVERALLS_RUN_LOCALLY: 1
COVERALLS_REPO_TOKEN: ${{secrets.COVERALLS_REPO_TOKEN}} COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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