1
0
mirror of https://github.com/mrclay/minify.git synced 2025-07-31 19:30:29 +02:00

Skip some tests on CI

This commit is contained in:
Steve Clay
2024-01-04 01:19:42 -05:00
parent e84d55d4d6
commit 6166d3b785
2 changed files with 10 additions and 0 deletions

View File

@@ -8,6 +8,11 @@ class MinifyCacheAPCuTest extends TestCase
{
public function setUp(): void
{
if (getenv('GITHUB_ACTION')) {
$this->markTestSkipped("Skipping on CI");
return;
}
if (!function_exists('apcu_store')) {
$this->markTestSkipped("To test this component, install APCu extension");
}

View File

@@ -12,6 +12,11 @@ class MinifyCacheMemcacheTest extends TestCase
public function setUp(): void
{
if (getenv('GITHUB_ACTION')) {
$this->markTestSkipped("Skipping on CI");
return;
}
if (!function_exists('memcache_set')) {
$this->markTestSkipped("To test this component, install memcache in PHP");
}