-
-
Notifications
You must be signed in to change notification settings - Fork 85
36 lines (31 loc) · 830 Bytes
/
test_php.yml
File metadata and controls
36 lines (31 loc) · 830 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
33
34
35
36
# docs: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
name: CT PHP
on:
push:
branches: ['master', 'main']
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
working-directory: tools/src/test/php
jobs:
test:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: Checkout
# see https://github.com/actions/checkout
uses: actions/checkout@v5
- name: Setup PHP
# see https://github.com/shivammathur/setup-php
uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
tools: composer:v2
- name: Install Depenencies
run: composer install
- name: Run test
run: composer run test