Skip to content

Commit

Permalink
run command outside container in gh context
Browse files Browse the repository at this point in the history
  • Loading branch information
Vicente Canales committed Mar 8, 2024
1 parent c2ce26a commit a206209
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: npm run lint:pkg-json

tests:
name: JavaScript Unit Test
name: Test Suite
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -78,8 +78,8 @@ jobs:
- name: Run JavaScript unit tests
run: npm run test:unit

- name: Run tests
- name: Run PHP tests
run: |
mysql -uroot -h127.0.0.1 -e 'SELECT version()' \
&& ./bin/install-wp-tests.sh --recreate-db wordpress_test root '' > /dev/null \
&& npm run test:php
&& composer run-script test

0 comments on commit a206209

Please sign in to comment.