-
Notifications
You must be signed in to change notification settings - Fork 1
30 lines (24 loc) · 796 Bytes
/
ci.yml
File metadata and controls
30 lines (24 loc) · 796 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
name: CI
on: [push, pull_request]
jobs:
unit-tests:
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} with ext-sodium
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: ['ubuntu-latest']
php-versions: ['8.2', '8.3', '8.4', '8.5']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, intl, sodium
ini-values: error_reporting=-1, display_errors=On
coverage: none
- name: Install Composer dependencies
uses: "ramsey/composer-install@v3"
- name: PHPUnit tests
run: vendor/bin/phpunit