-
-
Notifications
You must be signed in to change notification settings - Fork 6
62 lines (58 loc) · 1.19 KB
/
tests.yaml
File metadata and controls
62 lines (58 loc) · 1.19 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: "Tests"
on:
workflow_dispatch:
pull_request:
branches:
- master
paths:
- '**.php'
- 'composer.json'
- 'composer.lock'
- 'phpunit.xml'
push:
branches:
- master
paths:
- '**.php'
- 'composer.json'
- 'composer.lock'
- 'phpunit.xml'
- '.github/workflows/tests.yaml'
permissions:
actions: none
attestations: none
checks: none
contents: read
deployments: none
id-token: none
issues: none
models: none
discussions: none
packages: none
pages: none
pull-requests: none
security-events: none
statuses: none
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ["8.5"]
name: 'Tests - PHP ${{ matrix.php-version }}'
steps:
- uses: actions/checkout@v6
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: soap libxml simplexml curl
# language=sh
- run: |
composer update \
--no-ansi \
--no-interaction \
--no-scripts \
--no-progress
# language=sh
- run: |
./vendor/bin/phpunit -c phpunit.xml.dist