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 config/vs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"dev": [
"8.6",
"8.7",
"master"
],
"7.1": "vc14",
Expand All @@ -14,5 +15,6 @@
"8.4": "vs17",
"8.5": "vs17",
"8.6": "vs18",
"8.7": "vs18",
"master": "vs18"
}
1 change: 1 addition & 0 deletions tests/Console/Command/SeriesInitCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public static function caseProvider(): array
return [
['8.3', 'vs17', 'vs17'],
['8.2', 'vs16', 'vs16'],
['8.7', 'vs18', 'vs18'],
];
}

Expand Down
11 changes: 8 additions & 3 deletions tests/Console/Command/WinlibsCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,14 +246,19 @@ public static function versionProvider(): array
];
}

public function testSyncsStableAndStagingSeriesFilesForConfiguredUpcomingSeries(): void
public static function upcomingSeriesProvider(): array
{
return [['8.6'], ['8.7'], ['master']];
}

#[DataProvider('upcomingSeriesProvider')]
public function testSyncsStableAndStagingSeriesFilesForConfiguredUpcomingSeries(string $phpVersion): void
{
mkdir($this->winlibsDirectory . '/lib', 0755, true);

$library = 'lib';
$ref = '2.0.0';
$phpVersion = 'master';
$vsVersion = 'vs17';
$vsVersion = 'vs18';
$arch = 'x64';

file_put_contents($this->winlibsDirectory . '/lib/data.json', json_encode([
Expand Down
Loading