-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (27 loc) · 883 Bytes
/
Copy pathtests.yml
File metadata and controls
34 lines (27 loc) · 883 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
name: Tests
on:
pull_request:
push:
branches: [master]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# 8.6 is out until the tree can install on it: tempest/generation pins
# nette/php-generator, which caps at 8.5, so composer cannot resolve and
# the job fails before a single test runs. A permanently red matrix leg
# is worse than no leg — it taught us to ignore this workflow, and a
# release went out on a red tick because of it.
php: ['8.5']
steps:
- uses: actions/checkout@v7
- name: Install PHP ${{ matrix.php }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Install packages
run: composer install --prefer-dist --no-progress
- name: Run tests
run: composer test