Skip to content

Commit 698bac1

Browse files
Litarnusstayallive
andauthored
ref(ci): add --no-security-blocking to composer install (#1073)
Co-authored-by: Alex Bouma <[email protected]>
1 parent 9f54915 commit 698bac1

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
env:
2323
COMPOSER_NO_INTERACTION: 1
24+
COMPOSER_NO_SECURITY_BLOCKING: 1
2425

2526
strategy:
2627
fail-fast: false
@@ -80,6 +81,7 @@ jobs:
8081
runs-on: ubuntu-latest
8182
env:
8283
COMPOSER_NO_INTERACTION: 1
84+
COMPOSER_NO_SECURITY_BLOCKING: 1
8385

8486
strategy:
8587
fail-fast: false

test/Sentry/Features/ConsoleSchedulingIntegrationTest.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,22 @@
66
use Illuminate\Bus\Queueable;
77
use Illuminate\Console\Scheduling\Schedule;
88
use Illuminate\Contracts\Queue\ShouldQueue;
9+
use Illuminate\Foundation\Application;
910
use RuntimeException;
1011
use Sentry\Laravel\Tests\TestCase;
1112
use Illuminate\Console\Scheduling\Event;
1213

1314
class ConsoleSchedulingIntegrationTest extends TestCase
1415
{
16+
protected function setUp(): void
17+
{
18+
if (\PHP_VERSION_ID >= 70300 && \PHP_VERSION_ID < 70400 && version_compare(Application::VERSION, '8', '>=') && version_compare(Application::VERSION, '9', '<')) {
19+
$this->markTestSkipped('These tests don\'t run on Laravel 8 with PHP 7.3.');
20+
}
21+
22+
parent::setUp();
23+
}
24+
1525
public function testScheduleMacro(): void
1626
{
1727
/** @var Event $scheduledEvent */

0 commit comments

Comments
 (0)