1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-06-01 03:36:12 +02:00
php-debugbar/.github/workflows/run-screenshots.yml
Barry vd. Heuvel ae1f47ca11
Dark Theme + Theme variables + UI tweaks (#703)
* Add option to set theme

* Replace colors with variables

* Use mask for icons

* Fix borders

* Use better variables

* Remove theme

* Add github dark

* Fix select

* Tweak open handler

* Fix inputs

* Fix toolbar

* Fix labels

* Add theme switcher

* Use :after for icons

* Slight tweak to base css

* Tweak restore btn

* Use font variables, tweak timeline

* TWeak openhandler

* Tweak query hover

* Remove openhandler padding

* Fix dataset switcher

* Tweak toolbar

* Move settings, simplify storage

* Add floating position and autoshow to settings

* Tweak constructor

* Add test

* Add hide empty tabs option

* Tweak loading

* Fix test

* Breathe a little

* Add screenshots to tests, test light/dark

* Run screenshot only on 8.4

* Tweak folder

* Tweak

* Rename var

* Twaek hover

* TWeak sql

* Tweak accent

* Fix overly fanatic rename

* Tweak to header
2025-01-26 15:41:20 +01:00

52 lines
1.2 KiB
YAML

name: Screenshots
on:
push:
branches:
- master
pull_request:
branches:
- "*"
schedule:
- cron: '0 0 * * *'
jobs:
php-tests:
runs-on: ubuntu-latest
timeout-minutes: 15
env:
COMPOSER_NO_INTERACTION: 1
strategy:
matrix:
php: [8.4]
name: PHP${{ matrix.php }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
extensions: pdo_sqlite
- name: Install dependencies
run: |
composer update --prefer-dist --no-progress
composer update --prefer-dist --no-progress --working-dir=demo/bridge/monolog
composer update --prefer-dist --no-progress --working-dir=demo/bridge/doctrine
composer run --working-dir=demo/bridge/doctrine install-schema
- name: Execute Unit Tests
run: vendor/bin/phpunit --testsuite=Browser
- name: Upload screenshots
uses: actions/upload-artifact@v4
with:
name: debugbar-screenshots
path: tests/screenshots