Skip to content

Commit

Permalink
Merge pull request #77 from wp-cli/fix-workflow-sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy authored Oct 19, 2023
2 parents b482e6a + 1d7d96a commit 4a9d85a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/reusable-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,11 @@ jobs:
custom-cache-suffix: $(date -u "+%Y-%m")

- name: Start MySQL server
if: ${{ matrix.dbtype !== 'sqlite' && matrix.php >= inputs.minimum-php && steps.check_files.outputs.files_exists == 'true' }}
if: ${{ matrix.dbtype != 'sqlite' && matrix.php >= inputs.minimum-php && steps.check_files.outputs.files_exists == 'true' }}
run: sudo systemctl start mysql

- name: Configure DB environment
if: ${{ matrix.dbtype !== 'sqlite' && matrix.php >= inputs.minimum-php && steps.check_files.outputs.files_exists == 'true' }}
if: ${{ matrix.dbtype != 'sqlite' && matrix.php >= inputs.minimum-php && steps.check_files.outputs.files_exists == 'true' }}
run: |
echo "MYSQL_HOST=127.0.0.1" >> $GITHUB_ENV
echo "MYSQL_TCP_PORT=${{ job.services.mysql.ports['3306'] }}" >> $GITHUB_ENV
Expand All @@ -198,7 +198,7 @@ jobs:
echo "WP_CLI_TEST_DBHOST=127.0.0.1:${{ job.services.mysql.ports['3306'] }}" >> $GITHUB_ENV
- name: Prepare test database
if: ${{ matrix.dbtype !== 'sqlite' && matrix.php >= inputs.minimum-php && steps.check_files.outputs.files_exists == 'true' }}
if: ${{ matrix.dbtype != 'sqlite' && matrix.php >= inputs.minimum-php && steps.check_files.outputs.files_exists == 'true' }}
run: composer prepare-tests

- name: Check Behat environment
Expand Down

0 comments on commit 4a9d85a

Please sign in to comment.