Skip to content

Commit f6dd44b

Browse files
authored
Modernize back-end.yml
1 parent abd60b5 commit f6dd44b

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/back-end.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ jobs:
5555
- "lowest"
5656
- "locked"
5757
- "highest"
58+
include:
59+
-
60+
php-version: "8.3"
61+
dependencies: "locked"
62+
coverage: true
5863
runs-on: "ubuntu-24.04"
5964
timeout-minutes: 5
6065
steps:
@@ -90,11 +95,12 @@ jobs:
9095
name: "Send coverage to Coveralls"
9196
env:
9297
COVERALLS_REPO_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
93-
if: "${{ env.COVERALLS_REPO_TOKEN && matrix.php-version == '8.3' && matrix.dependencies == 'locked' }}"
94-
run: |
95-
wget --no-verbose \
96-
"https://github.com/php-coveralls/php-coveralls/releases/download/v2.5.3/php-coveralls.phar"
97-
php ./php-coveralls.phar --verbose
98+
if: "${{ env.COVERALLS_REPO_TOKEN && matrix.coverage }}"
99+
uses: "coverallsapp/github-action@v2"
100+
with:
101+
github-token: "${{ env.COVERALLS_REPO_TOKEN }}"
102+
flag-name: "Unit"
103+
allow-empty: false
98104

99105
static_analysis:
100106
name: "3️⃣ Static Analysis"

0 commit comments

Comments
 (0)