mirror of
https://github.com/mrclay/minify.git
synced 2025-08-09 07:36:56 +02:00
Skip some tests on CI
This commit is contained in:
@@ -8,6 +8,11 @@ class MinifyCacheAPCuTest extends TestCase
|
|||||||
{
|
{
|
||||||
public function setUp(): void
|
public function setUp(): void
|
||||||
{
|
{
|
||||||
|
if (getenv('GITHUB_ACTION')) {
|
||||||
|
$this->markTestSkipped("Skipping on CI");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!function_exists('apcu_store')) {
|
if (!function_exists('apcu_store')) {
|
||||||
$this->markTestSkipped("To test this component, install APCu extension");
|
$this->markTestSkipped("To test this component, install APCu extension");
|
||||||
}
|
}
|
||||||
|
@@ -12,6 +12,11 @@ class MinifyCacheMemcacheTest extends TestCase
|
|||||||
|
|
||||||
public function setUp(): void
|
public function setUp(): void
|
||||||
{
|
{
|
||||||
|
if (getenv('GITHUB_ACTION')) {
|
||||||
|
$this->markTestSkipped("Skipping on CI");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!function_exists('memcache_set')) {
|
if (!function_exists('memcache_set')) {
|
||||||
$this->markTestSkipped("To test this component, install memcache in PHP");
|
$this->markTestSkipped("To test this component, install memcache in PHP");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user