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:
@@ -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");
|
||||
}
|
||||
|
@@ -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");
|
||||
}
|
||||
|
Reference in New Issue
Block a user