diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6505f6ba..752ea477 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,6 +21,7 @@ jobs: runs-on: ubuntu-latest env: COMPOSER_NO_INTERACTION: 1 + COMPOSER_NO_SECURITY_BLOCKING: 1 strategy: fail-fast: false @@ -80,6 +81,7 @@ jobs: runs-on: ubuntu-latest env: COMPOSER_NO_INTERACTION: 1 + COMPOSER_NO_SECURITY_BLOCKING: 1 strategy: fail-fast: false diff --git a/test/Sentry/Features/ConsoleSchedulingIntegrationTest.php b/test/Sentry/Features/ConsoleSchedulingIntegrationTest.php index d8e2fd6e..12b949af 100644 --- a/test/Sentry/Features/ConsoleSchedulingIntegrationTest.php +++ b/test/Sentry/Features/ConsoleSchedulingIntegrationTest.php @@ -6,12 +6,22 @@ use Illuminate\Bus\Queueable; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Contracts\Queue\ShouldQueue; +use Illuminate\Foundation\Application; use RuntimeException; use Sentry\Laravel\Tests\TestCase; use Illuminate\Console\Scheduling\Event; class ConsoleSchedulingIntegrationTest extends TestCase { + protected function setUp(): void + { + if (\PHP_VERSION_ID >= 70300 && \PHP_VERSION_ID < 70400 && version_compare(Application::VERSION, '8', '>=') && version_compare(Application::VERSION, '9', '<')) { + $this->markTestSkipped('These tests don\'t run on Laravel 8 with PHP 7.3.'); + } + + parent::setUp(); + } + public function testScheduleMacro(): void { /** @var Event $scheduledEvent */