Replace instaclick/php-webdriver with lullabot/php-webdriver #4
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
Functional-JavaScript: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ddev/github-action-setup-ddev@v1 | |
- name: Install dependencies | |
run: ddev composer install | |
- name: Configure tests | |
run: cp .github/workflows/phpunit.xml core/phpunit.xml | |
- name: Run tests | |
run: ddev exec SYMFONY_DEPRECATIONS_HELPER=weak phpunit -c core --testsuite=functional-javascript --verbose --fail-on-incomplete --fail-on-risky --fail-on-skipped core | |
- name: Upload test artifacts | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
name: browser_output | |
path: sites/simpletest/browser_output |