Skip to content

Commit

Permalink
DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
lucatume committed Aug 31, 2024
1 parent 25169bb commit 05877ce
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 15 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,21 @@ jobs:
test:
strategy:
matrix:
php_version: [ '8.0', '8.1', '8.2', '8.3' ]
# php_version: [ '8.0', '8.1', '8.2', '8.3' ]
php_version: [ '8.0' ]
suite:
- acceptance
- climodule
- functional
- muloader
- unit --skip-group=slow
- unit --group=isolated-1
- unit --group=isolated-2
# - 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
# - wpcli_module
# - wploader_multisite
# - wploader_wpdb_interaction
# - wploadersuite
name: ${{ matrix.suite }} php@${{ matrix.php_version }}
runs-on: ubuntu-22.04
steps:
Expand All @@ -56,7 +57,7 @@ jobs:
with:
php-version: ${{ matrix.php_version }}
extensions: uopz, sqlite3, gd
ini-values: post_max_size=256M, max_execution_time=180, uopz.exit=1
ini-values: post_max_size=256M, max_execution_time=180, uopz.exit=1, opcache.revalidate_freq=0
tools: composer

- name: Get Composer Cache Directory
Expand Down Expand Up @@ -107,7 +108,7 @@ jobs:

- name: Run tests
id: test
run: vendor/bin/codecept run ${{ matrix.suite }}
run: vendor/bin/codecept run ${{ matrix.suite }} --debug -f

- name: Upload Artifacts
uses: actions/upload-artifact@v2
Expand Down
4 changes: 3 additions & 1 deletion tests/webdriver/PluginActivationCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,11 @@ public function be_able_to_activate_plugins(WebDriverTester $I): void
*/
public function be_able_to_activate_plugins_in_a_long_list(WebDriverTester $I): void
{
$I->loginAsAdmin();
$I->amOnPluginsPage();

$this->scaffoldTestPlugins($I);

$I->loginAsAdmin();
$I->amOnPluginsPage();

$I->activatePlugin('plugin-z');
Expand Down

0 comments on commit 05877ce

Please sign in to comment.