Improve cypress workflow: add php 8.4 + ignore upload warnings

This commit is contained in:
slawkens 2025-05-09 13:23:04 +02:00
parent c24c580796
commit 2fece725a4

View File

@ -22,7 +22,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
php-versions: [ '8.1', '8.2', '8.3' ] php-versions: [ '8.1', '8.2', '8.3', '8.4' ]
ots: ['tfs-1.4', 'canary-3.1.2'] # TODO: add 'tfs-master' (actually doesn't work cause AAC doesn't support reading .env configuration) ots: ['tfs-1.4', 'canary-3.1.2'] # TODO: add 'tfs-master' (actually doesn't work cause AAC doesn't support reading .env configuration)
name: Cypress (PHP ${{ matrix.php-versions }}, ${{ matrix.ots }}) name: Cypress (PHP ${{ matrix.php-versions }}, ${{ matrix.ots }})
steps: steps:
@ -146,6 +146,7 @@ jobs:
with: with:
name: cypress-screenshots-${{ matrix.php-versions }}-${{ matrix.ots }} name: cypress-screenshots-${{ matrix.php-versions }}-${{ matrix.ots }}
path: cypress/screenshots path: cypress/screenshots
if-no-files-found: ignore
- name: Upload Cypress Videos - name: Upload Cypress Videos
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
@ -153,6 +154,7 @@ jobs:
with: with:
name: cypress-videos-${{ matrix.php-versions }}-${{ matrix.ots }} name: cypress-videos-${{ matrix.php-versions }}-${{ matrix.ots }}
path: cypress/videos path: cypress/videos
if-no-files-found: ignore
- name: Upload PHP Logs - name: Upload PHP Logs
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4