Skip to content

Commit 48e7894

Browse files
brendtinnocenzi
andauthored
chore(ci): bump code coverage memory limit (#1058)
Co-authored-by: Enzo Innocenzi <[email protected]>
1 parent 97bfbf2 commit 48e7894

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/workflows/integration-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ jobs:
100100
run: php ./tempest discovery:status
101101

102102
- name: Execute tests
103-
run: php -d"error_reporting = E_ALL & ~E_DEPRECATED" vendor/bin/phpunit --coverage-clover build/reports/clover.xml
103+
run: php -d"error_reporting = E_ALL & ~E_DEPRECATED" -dmemory_limit=1G vendor/bin/phpunit --coverage-clover build/reports/clover.xml
104104

105105
# Only upload coverage once.
106-
- if: matrix.php == '8.3' && matrix.database == 'sqlite' && matrix.os == 'ubuntu-latest' && matrix.stability == 'prefer-stable'
106+
- if: matrix.php == '8.4' && matrix.database == 'sqlite' && matrix.os == 'ubuntu-latest' && matrix.stability == 'prefer-stable'
107107
name: Coveralls
108108
uses: coverallsapp/github-action@v2
109109
with:

phpunit.xml.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,5 @@
3333
<env name="BASE_URI" value="" />
3434
<env name="CACHE" value="null" />
3535
<env name="DISCOVERY_CACHE" value="true" />
36-
<ini name="memory_limit" value="256M" />
3736
</php>
3837
</phpunit>

tests/Integration/Core/KernelTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ public function test_kernel_start(): void
4242
root: getcwd(),
4343
);
4444

45-
$this->assertTrue(defined('TEMPEST_START'));
45+
$this->assertTrue(defined('TEMPEST_START')); // @phpstan-ignore method.alreadyNarrowedType
4646
}
4747
}

0 commit comments

Comments
 (0)