Skip to content
This repository has been archived by the owner on Oct 8, 2023. It is now read-only.

Commit

Permalink
IV
Browse files Browse the repository at this point in the history
  • Loading branch information
mondrake committed Aug 30, 2023
1 parent 33f610c commit 5d71085
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,26 +85,26 @@ jobs:
composer config repositories.test-run '{"type": "path", "url": "mysqli_staging", "options": {"symlink": false}}'
composer require "mondrake/mysqli:dev-test-run-branch" --no-progress --ansi
- name: Install Drupal
run: |
cp mysqli_staging/tests/github/install_* .
# Install via Drush.
vendor/bin/drush site-install standard --db-url=$SIMPLETEST_DB -y
# Report installation status.
php install_report.php
vendor/bin/drush core:status
vendor/bin/drush core:requirements
vendor/bin/drush pml --type=module --no-core
# Spin a test webserver.
mkdir -p sites/default/files/simpletest
vendor/bin/drush runserver localhost:8080 --default-server=localhost:8080 &
sleep 1s
# - name: Install Drupal
# run: |
# cp mysqli_staging/tests/github/install_* .
# # Install via Drush.
# vendor/bin/drush site-install standard --db-url=$SIMPLETEST_DB -y
# # Report installation status.
# php install_report.php
# vendor/bin/drush core:status
# vendor/bin/drush core:requirements
# vendor/bin/drush pml --type=module --no-core
# # Spin a test webserver.
# mkdir -p sites/default/files/simpletest
# vendor/bin/drush runserver localhost:8080 --default-server=localhost:8080 &
# sleep 1s

- name: Run tests ${{ matrix.test-args }}
continue-on-error: true
run: vendor/bin/phpunit -c core --color=always ${{ matrix.test-args }}

- uses: actions/upload-artifact@v3
with:
name: test-results
path: sites/simpletest/browser_output
# - uses: actions/upload-artifact@v3
# with:
# name: test-results
# path: sites/simpletest/browser_output

0 comments on commit 5d71085

Please sign in to comment.