-
-
Notifications
You must be signed in to change notification settings - Fork 20
33 lines (29 loc) · 743 Bytes
/
php-src.yml
File metadata and controls
33 lines (29 loc) · 743 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
name: Test with php-src
permissions:
contents: read
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 9 7,14,21,28 * *'
jobs:
test:
name: Test with php-src
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '8.1', '8.2', '8.3', '8.4', '8.5', 'master' ]
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Run docker compose
shell: bash
run: |
cp .github/workflows/php-src-${{ matrix.php }}.dockerfile Dockerfile
docker compose up -d
sleep 30
- name: Run testing
shell: bash
run: |
sleep 30
docker compose run web sh -c "cd / && composer test"