Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions .github/workflows/reusable-functional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,12 @@ jobs:
echo "authentication_policy=mysql_native_password," >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT

# Downloading and starting the database server is the slowest part of the
# setup, and nothing needs it until the test database is prepared. Run it
# in the background alongside the PHP and Composer setup below, and wait
# for it right before it is first used. The action only downloads its own
# binaries, so it cannot contend with apt, Homebrew or Chocolatey.
# Not run in the background alongside the setup below: the action unpacks
# its binaries with the system `tar`, which fails to load libpcre2 while
# setup-php or the Ghostscript install upgrade that library with apt.
- name: Setup MySQL Server
id: setup-mysql
if: ${{ inputs.dbtype != 'sqlite' }}
background: true
uses: shogo82148/actions-setup-mysql@13a38f2af408e58a0c80168fc620a63a15357339 # v1
with:
mysql-version: ${{ inputs.mysql }}
Expand Down Expand Up @@ -223,9 +220,9 @@ jobs:
env:
COMPOSER_ROOT_VERSION: dev-${{ github.event.repository.default_branch }}

# Waits for the database server and the Windows dependencies. `wait-all`
# rather than `wait: setup-mysql`, as either background step may have been
# skipped by its condition. A failure in either fails the job here.
# Waits for the Windows dependencies. `wait-all` rather than a named `wait`,
# as the background step may have been skipped by its condition. A failure
# there fails the job here.
- name: Wait for background setup steps
wait-all:

Expand Down
Loading