Skip to content

Refactor payment transition guessing #1

Refactor payment transition guessing

Refactor payment transition guessing #1

Workflow file for this run

name: Continuous Integration
on:
push: ~
pull_request: ~
release:
types: [created]
workflow_dispatch: ~
jobs:
tests:
runs-on: ubuntu-latest
name: "Sylius ${{ matrix.sylius }}, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}, MySQL ${{ matrix.mysql }}"
strategy:
fail-fast: false
matrix:
php: ["8.2", "8.3"]
symfony: ["^6.4", "^7.1"]
sylius: ["^2.0-dev"]
node: ["20.x"]
mysql: ["8.0"]
env:
APP_ENV: test
DATABASE_URL: "mysql://root:[email protected]/sylius?serverVersion=${{ matrix.mysql }}"
steps:
-
uses: actions/checkout@v4
- name: Build application
uses: SyliusLabs/[email protected]
with:
build_type: "plugin"
cache_key: "${{ github.run_id }}-${{ runner.os }}-${{ hashFiles('composer.json') }}-sylius-${{ matrix.sylius }}-symfony-${{ matrix.symfony }}"
cache_restore_key: "${{ github.run_id }}-${{ runner.os }}-${{ hashFiles('composer.json') }}-sylius-${{ matrix.sylius }}-symfony-${{ matrix.symfony }}"
e2e: "yes"
e2e_js: "yes"
database_version: ${{ matrix.mysql }}
php_version: ${{ matrix.php }}
symfony_version: ${{ matrix.symfony }}
-
name: Upload logs
uses: actions/upload-artifact@v4
if: failure()
with:
name: Logs
path: |
var/log/
if-no-files-found: ignore