-
-
Notifications
You must be signed in to change notification settings - Fork 11
32 lines (26 loc) · 802 Bytes
/
Copy pathno-db.2204.yml
File metadata and controls
32 lines (26 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Tests without a database PHP^8
on:
pull_request:
branches: [ master ]
jobs:
no-db-tests-2204:
runs-on: ubuntu-22.04
name: "Running Tests for PHP ${{ matrix.php-version }}"
strategy:
fail-fast: false
matrix:
php-version: ['8.1', '8.2', '8.3', '8.4']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, sockets
coverage: xdebug
ini-values: max_execution_time=0
- name: Install dependencies
run: composer install --no-progress
- name: Test with phpunit
run: vendor/bin/phpunit --configuration phpunit.xml --testsuite "NoDatabase"