-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (29 loc) · 800 Bytes
/
test.yml
File metadata and controls
31 lines (29 loc) · 800 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
name: test
on:
push:
schedule:
- cron: '0 0 */1 * *'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
package-version: [lowest, latest]
php-version: [8.2, 8.3, 8.4, 8.5]
name: PHP ${{ matrix.php-version }} with ${{ matrix.package-version }} packages
steps:
- name: Install Just
uses: extractions/setup-just@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout code
uses: actions/checkout@v6
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring
coverage: none
- name: Install packages
run: just install-${{ matrix.package-version }}
- run: just test