Commit 0f147879 authored by Smolevich's avatar Smolevich

Update blank.yml

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