-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) · 939 Bytes
/
php.yml
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
33
34
35
name: CI-latest
on: [push]
jobs:
build-test:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: Install deps
run: |
sudo apt-get install -y php-bcmath
sudo apt-get install -y libmemcached-dev zlib1g-dev libssl-dev
sudo apt-get install -y php-memcached
- name: Install service memcached
uses: niden/actions-memcached@v7
- name: Composer
uses: php-actions/composer@v6
with:
php_version: "8.3"
php_extensions: memcached bcmath sockets
version: latest
- name: PHPUnit Tests
uses: php-actions/phpunit@master
env:
TEST_NAME: Poseidon
with:
version: 11.0
php_version: 8.3
php_extensions: bcmath memcached
bootstrap: vendor/autoload.php
configuration: test/phpunit.xml
# args: --coverage-text