WS-504: Paragraphs patch to fix editting of content that was pubished… #538
Workflow file for this run
This file contains 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: Test PRs | |
on: | |
- pull_request | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
- name: Set up ddev | |
uses: ddev/github-action-setup-ddev@v1 | |
- name: Set up the site | |
run: | | |
ddev composer install | |
ddev exec blt setup --no-interaction || true | |
ddev drush cim | |
ddev drush cr | |
ddev drush pmu samlauth | |
ddev drush pmu confirm_leave | |
- name: Validate code | |
run: ddev exec blt validate --no-interaction | |
- name: Run tests | |
run: ddev exec vendor/bin/behat --config=tests/behat/behat.yml --stop-on-failure --strict --format=progress | |
- name: Upload screenshots of failure | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
name: screenshots | |
path: tests/behat/screenshots/*.png |