Skip to content

Commit 5e85a28

Browse files
committed
Update workflow configuration
1 parent f2791d7 commit 5e85a28

File tree

4 files changed

+12
-65
lines changed

4 files changed

+12
-65
lines changed

.coveralls.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/analysis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: "Checkout"
1414
uses: actions/checkout@v4
1515

16-
- name: "Build environment"
16+
- name: "Environment"
1717
uses: shivammathur/setup-php@v2
1818
with:
1919
php-version: "7.1"
@@ -26,7 +26,6 @@ jobs:
2626
COMPOSER_MEMORY_LIMIT=-1 composer update
2727
2828
- name: "Application"
29-
run: vendor/bin/phpstan --version
30-
31-
- name: "Analyses"
32-
run: vendor/bin/phpstan analyse src/ --error-format=github
29+
run: |
30+
vendor/bin/phpstan --version
31+
vendor/bin/phpstan analyse src/ --error-format=github

.github/workflows/build.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: "Checkout"
2626
uses: actions/checkout@v4
2727

28-
- name: "Build environment"
28+
- name: "Environment"
2929
uses: shivammathur/setup-php@v2
3030
with:
3131
php-version: "${{ matrix.php-version }}"
@@ -40,19 +40,18 @@ jobs:
4040
- name: "Application"
4141
run: |
4242
mkdir -p build/logs
43-
wget -c -nc --retry-connrefused --tries=0 https://github.com/php-coveralls/php-coveralls/releases/download/v2.5.3/php-coveralls.phar -O coveralls.phar
44-
chmod +x coveralls.phar
45-
php coveralls.phar --version
46-
47-
- name: "Tests"
48-
run: vendor/bin/phpunit --coverage-clover build/logs/clover.xml
43+
vendor/bin/phpunit --coverage-clover build/logs/clover.xml
4944
5045
- name: "Coverage"
5146
env:
5247
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5348
COVERALLS_FLAG_NAME: php-${{ matrix.php-version }}
5449
COVERALLS_PARALLEL: true
55-
run: php coveralls.phar -v
50+
run: |
51+
wget -c -nc --retry-connrefused --tries=0 https://github.com/php-coveralls/php-coveralls/releases/download/v2.5.3/php-coveralls.phar -O coveralls.phar
52+
chmod +x coveralls.phar
53+
php coveralls.phar --version
54+
php coveralls.phar --coverage_clover=build/logs/clover.xml -v
5655
5756
coverage:
5857
name: "Coverage"
@@ -64,5 +63,5 @@ jobs:
6463
- name: "Coverage"
6564
uses: coverallsapp/github-action@v2
6665
with:
67-
github-token: ${{ secrets.github_token }}
66+
github-token: ${{ secrets.GITHUB_TOKEN }}
6867
parallel-finished: true

.github/workflows/metrics.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)