Migrate plugin E2E tests from Codeception to Playwright #1340
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI/CD for EC-CUBE | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| tags: | |
| - '*' | |
| paths: | |
| - '**' | |
| - '!*.md' | |
| pull_request: | |
| paths: | |
| - '**' | |
| - '!*.md' | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| rector: | |
| uses: ./.github/workflows/rector.yml | |
| phpstan: | |
| uses: ./.github/workflows/phpstan.yml | |
| php-cs-fixer: | |
| uses: ./.github/workflows/php-cs-fixer.yml | |
| unit-test: | |
| needs: [ rector, phpstan, php-cs-fixer ] | |
| uses: ./.github/workflows/unit-test.yml | |
| e2e-test: | |
| needs: [ rector, phpstan, php-cs-fixer ] | |
| uses: ./.github/workflows/e2e-test.yml | |
| plugin-test: | |
| needs: [ unit-test, e2e-test ] | |
| uses: ./.github/workflows/plugin-test.yml | |
| e2e-test-throttling: | |
| needs: [ plugin-test ] | |
| uses: ./.github/workflows/e2e-test-throttling.yml | |
| deny-test: | |
| needs: [ plugin-test ] | |
| uses: ./.github/workflows/deny-test.yml | |
| success: | |
| needs: [ e2e-test-throttling, deny-test ] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: success | |
| run: echo "::notice::success!" | |
| coverage: | |
| needs: [ unit-test ] # PHPUnit coverage only, no need to wait for e2e-test | |
| if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }} | |
| uses: ./.github/workflows/coverage.yml |