diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 62af546..c17d87b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,6 +20,7 @@ jobs: - "8.0" - "8.1" - "8.2" + - "8.3" os: - ubuntu-latest - windows-latest @@ -49,10 +50,4 @@ jobs: ${{ matrix.composer-options }} - name: Run tests - if: ${{ matrix.php-version != '8.2' }} - run: composer test - - - name: Run tests (experimental) - if: ${{ matrix.php-version == '8.2' }} - continue-on-error: true run: composer test diff --git a/src/AllureCodeception.php b/src/AllureCodeception.php index cbcabc9..deb0457 100644 --- a/src/AllureCodeception.php +++ b/src/AllureCodeception.php @@ -44,7 +44,6 @@ final class AllureCodeception extends Extension private const DEFAULT_RESULTS_DIRECTORY = 'allure-results'; protected static array $events = [ - Events::MODULE_INIT => 'moduleInit', Events::SUITE_BEFORE => 'suiteBefore', Events::SUITE_AFTER => 'suiteAfter', Events::TEST_START => 'testStart', @@ -68,8 +67,9 @@ final class AllureCodeception extends Extension * @throws ConfigurationException * phpcs:disable PSR2.Methods.MethodDeclaration.Underscore */ - public function moduleInit(): void + public function _initialize(): void { + parent::_initialize(); QametaAllure::reset(); $this->testLifecycle = null; $this->threadDetector = null;