Skip to content

Commit 735aced

Browse files
committed
Update blank.yml
1 parent ec905cc commit 735aced

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.github/workflows/blank.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,13 @@ jobs:
3636
docker-compose run --rm tests composer install --no-interaction
3737
- name: Generating code coverage
3838
run: |
39-
docker-compose run --rm tests mkdir -p build/logs
40-
docker-compose run --rm tests ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
41-
- name: Send coveralls
42-
run: |
39+
mkdir -p build/logs
4340
docker-compose run --rm tests mkdir -p build/logs
4441
docker-compose run --rm \
45-
-e COVERALLS_REPO_TOKEN=${COVERALLS_REPO_TOKEN} \
46-
-e COVERALLS_RUN_LOCALLY=${COVERALLS_RUN_LOCALLY} \
47-
tests \
48-
vendor/bin/php-coveralls -v
42+
tests ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
43+
ls -alt build/logs
44+
- name: Send coveralls
45+
run: php vendor/bin/php-coveralls -v
4946
env:
50-
COVERALLS_RUN_LOCALLY: ${{secrets.COVERALLS_RUN_LOCALLY}}
51-
COVERALLS_REPO_TOKEN: ${{secrets.COVERALLS_REPO_TOKEN}}
47+
COVERALLS_RUN_LOCALLY: 1
48+
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)