Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Nov 12, 2024
1 parent c7191f6 commit 42461fd
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 27 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/analyse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,13 @@ on:

jobs:
tests:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
runs-on: "ubuntu-latest"
continue-on-error: false
strategy:
matrix:
os:
- "ubuntu-latest"
php:
- 8.2
dependencies:
- "highest"
experimental:
- false
php: [8.2]

name: PHP${{ matrix.php }} on ${{ matrix.os }} (${{ matrix.dependencies }})
name: PHP:{{ $matrix.php }} Code Analysis

steps:
- name: Checkout code
Expand All @@ -29,14 +22,14 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
php-version: 8.2
extensions: dom, curl, libxml, mbstring, zip, pcntl, sqlite3, pdo_sqlite, bcmath, fileinfo
coverage: none

- name: Install dependencies
uses: "ramsey/composer-install@v3"
with:
dependency-versions: "${{ matrix.dependencies }}"
dependency-versions: "highest"
composer-options: "--prefer-dist --no-cache"

- name: Execute Code Style Analysis
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/audits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
audit-dependencies:
runs-on: ${{ matrix.os }}
runs-on: "ubuntu-latest"
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
Expand All @@ -20,7 +20,7 @@ jobs:
experimental:
- true

name: PHP${{ matrix.php }} on ${{ matrix.os }}
name: PHP:${{ matrix.php }} Audit

steps:
- name: Checkout code
Expand Down
17 changes: 5 additions & 12 deletions .github/workflows/coveralls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,13 @@ on:

jobs:
tests:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
runs-on: "ubuntu-latest"
continue-on-error: false
strategy:
matrix:
os:
- "ubuntu-latest"
php:
- 8.2
dependencies:
- "highest"
experimental:
- false
php: [8.2]

name: PHP${{ matrix.php }} on ${{ matrix.os }} (${{ matrix.dependencies }})
name: PHP:${{ matrix.php }} Code Coverage

steps:
- name: Checkout code
Expand All @@ -35,7 +28,7 @@ jobs:
- name: Install dependencies
uses: "ramsey/composer-install@v3"
with:
dependency-versions: "${{ matrix.dependencies }}"
dependency-versions: "highest"
composer-options: "--prefer-dist --no-cache"

- name: Execute tests
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
dependencies:
- "highest"
- "lowest"
exclude:
- php: 8.3
dependencies: "lowest"

name: PHP${{ matrix.php }} on ${{ matrix.os }} (${{ matrix.dependencies }})

Expand Down

0 comments on commit 42461fd

Please sign in to comment.