Skip to content

Commit

Permalink
build(test.yaml) restore the matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
lucatume committed Aug 17, 2024
1 parent 0151a3d commit 95731a2
Showing 1 changed file with 15 additions and 31 deletions.
46 changes: 15 additions & 31 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,20 @@ jobs:
test:
strategy:
matrix:
# php_version: [ '8.0', '8.1', '8.2', '8.3' ]
# suite:
# - acceptance
# - climodule
# - functional
# - muloader
# - unit --skip-group=slow
# - unit --group=isolated-1
# - unit --group=isolated-2
# - webdriver
# - wpcli_module
# - wploader_multisite
# - wploader_wpdb_interaction
# - wploadersuite
php_version: [ '8.0']
suite:
- muloader
php_version: [ '8.0', '8.1', '8.2', '8.3' ]
suite:
- acceptance
- climodule
- functional
- muloader
- unit --skip-group=slow
- unit --group=isolated-1
- unit --group=isolated-2
- webdriver
- wpcli_module
- wploader_multisite
- wploader_wpdb_interaction
- wploadersuite
name: ${{ matrix.suite }} php@${{ matrix.php_version }}
runs-on: ubuntu-22.04
steps:
Expand Down Expand Up @@ -75,19 +72,6 @@ jobs:
restore-keys: |
${{ runner.os }}-composer-
- name: Setup Chrome
id: setup-chrome
uses: browser-actions/setup-chrome@v1
with:
install-dependencies: true

- name: Check Chrome version and path
run: |
${{ steps.setup-chrome.outputs.chrome-path }} --version
- name: Ensure netstat is installed if not installed
run: which netstat || sudo apt-get install net-tools

- name: Get the vendor/bin directory path
id: vendor-bin-dir
run: |
Expand All @@ -110,7 +94,7 @@ jobs:

- name: Update ChromeDriver if required
if: steps.vendor-bin-dir-cache.outputs.cache-hit != 'true'
run: vendor/bin/codecept chromedriver:update --binary ${{ steps.setup-chrome.outputs.chrome-path }}
run: vendor/bin/codecept chromedriver:update --binary /usr/bin/google-chrome

- name: Create var/wordpress directory
run: mkdir -p var/wordpress
Expand Down

0 comments on commit 95731a2

Please sign in to comment.