Skip to content

Commit 22fb7fb

Browse files
committed
chore: add CI pipeline workflow for PHP tests with multiple versions
Signed-off-by: Sam Poyigi <[email protected]>
1 parent c686b89 commit 22fb7fb

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

Diff for: .github/workflows/pipeline.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI Pipeline
2+
3+
on: [ push, pull_request, workflow_dispatch ]
4+
5+
jobs:
6+
php-tests:
7+
name: PHP Tests
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
php-version: [ 8.3, 8.4 ]
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: Setup PHP ${{ matrix.php-version }}
17+
uses: shivammathur/setup-php@v2
18+
with:
19+
php-version: ${{ matrix.php-version }}
20+
tools: composer:v2
21+
coverage: none
22+
23+
- name: Install composer dependencies
24+
run: composer install --no-interaction --no-progress

0 commit comments

Comments
 (0)