-
-
Notifications
You must be signed in to change notification settings - Fork 424
53 lines (44 loc) · 1.07 KB
/
Copy pathscreenshots.yml
File metadata and controls
53 lines (44 loc) · 1.07 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
name: Screenshots
on:
push:
branches:
- master
pull_request:
branches:
- "*"
jobs:
screenshots:
runs-on: ubuntu-24.04
timeout-minutes: 15
env:
COMPOSER_NO_INTERACTION: 1
strategy:
matrix:
php: [8.4]
name: PHP${{ matrix.php }}
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
tools: composer:v2
extensions: pdo_sqlite
- name: Install dependencies
env:
COMPOSER_ROOT_VERSION: dev-master
run: |
composer update --prefer-dist --no-progress
- name: Execute Unit Tests
uses: nick-fields/retry@v3
with:
max_attempts: 3
timeout_seconds: 30
command: vendor/bin/phpunit --testsuite=Browser
- name: Upload screenshots
uses: actions/upload-artifact@v6
with:
name: debugbar-screenshots
path: tests/screenshots