Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
runs-on: ubuntu-latest
env:
COMPOSER_NO_INTERACTION: 1
COMPOSER_NO_SECURITY_BLOCKING: 1

strategy:
fail-fast: false
Expand Down Expand Up @@ -80,6 +81,7 @@ jobs:
runs-on: ubuntu-latest
env:
COMPOSER_NO_INTERACTION: 1
COMPOSER_NO_SECURITY_BLOCKING: 1

strategy:
fail-fast: false
Expand Down
10 changes: 10 additions & 0 deletions test/Sentry/Features/ConsoleSchedulingIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
Loading