-
Notifications
You must be signed in to change notification settings - Fork 6
39 lines (37 loc) · 1.03 KB
/
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
36
37
38
39
name: PHP build
on:
push:
branches:
- main
pull_request:
branches:
- main
release:
schedule:
- cron: "0 0 1 * *"
jobs:
run:
runs-on: ${{ matrix.operating-system }}
env:
INFECTION_BADGE_API_KEY: ${{ secrets.INFECTION_BADGE_API_KEY }}
strategy:
matrix:
operating-system: [ubuntu-latest]
php-version: ['8.1', '8.2', '8.3']
name: PHP ${{ matrix.php-version }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: xdebug
tools: composer
- name: Install package
run: |
composer install
- name: CI pack
run: |
composer ci:pack
bash <(curl -s https://codecov.io/bash)