From 90eeb649a0a1265ad9e4a5e91088fbe73365f284 Mon Sep 17 00:00:00 2001 From: Sebastian Schreiber Date: Tue, 16 Apr 2024 22:59:35 +0200 Subject: [PATCH] [TASK] Fix tests in CI --- .../workflows/lint_test_pull_requests.yaml | 19 +------------------ fractor-xml/composer.json | 2 +- fractor/composer.json | 2 +- typo3-fractor/composer.json | 2 +- 4 files changed, 4 insertions(+), 21 deletions(-) diff --git a/.github/workflows/lint_test_pull_requests.yaml b/.github/workflows/lint_test_pull_requests.yaml index 2ecc3483..3c57c31a 100644 --- a/.github/workflows/lint_test_pull_requests.yaml +++ b/.github/workflows/lint_test_pull_requests.yaml @@ -45,21 +45,4 @@ jobs: with: container_workdir: /app/${{ matrix.directory }} command: ${{ matrix.composer-command.command }} - memory_limit: 512M - - tests: - runs-on: ubuntu-latest - name: End to end tests - steps: - - uses: actions/checkout@v4 - with: - ref: ${{ github.event.pull_request.head.sha }} - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: '8.2' - - - name: Run tests - working-directory: tests - run: ./run-test.sh \ No newline at end of file + memory_limit: 512M \ No newline at end of file diff --git a/fractor-xml/composer.json b/fractor-xml/composer.json index a53b3d4c..ec5dc5ec 100644 --- a/fractor-xml/composer.json +++ b/fractor-xml/composer.json @@ -50,6 +50,6 @@ "analyze:php": "phpstan analyze", "style:php:check": "ecs", "style:php:fix": "ecs --fix", - "test:php": "phpunit tests/" + "test:php": "phpunit" } } diff --git a/fractor/composer.json b/fractor/composer.json index 98b1e96c..cdb9739c 100644 --- a/fractor/composer.json +++ b/fractor/composer.json @@ -48,6 +48,6 @@ "analyze:php": "phpstan analyze", "style:php:check": "ecs", "style:php:fix": "ecs --fix", - "test:php": "phpunit tests/" + "test:php": "phpunit" } } diff --git a/typo3-fractor/composer.json b/typo3-fractor/composer.json index 4119ac4a..8c858854 100644 --- a/typo3-fractor/composer.json +++ b/typo3-fractor/composer.json @@ -49,6 +49,6 @@ "analyze:php": "phpstan analyze", "style:php:check": "ecs", "style:php:fix": "ecs --fix", - "test:php": "phpunit tests/" + "test:php": "phpunit" } }