Skip to content

Commit 38e1f30

Browse files
committed
280: ensure GH token is set in sudo account for CI test runs
1 parent 890967e commit 38e1f30

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/continuous-integration.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3232
- uses: actions/checkout@v4
3333
- uses: ramsey/composer-install@v3
34+
- name: GH token
35+
if: matrix.operating-system != 'windows-latest'
36+
run: sudo composer config --global --auth github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}
3437
- name: Run PHPUnit on Windows
3538
if: matrix.operating-system == 'windows-latest'
3639
run: vendor/bin/phpunit

test/integration/DependencyResolver/ResolveDependencyWithComposerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static function validVersionsList(): array
4242
['dev-main#769f906413d6d1e12152f6d34134cbcd347ca253', 'dev-main', self::DOWNLOAD_URL_1_0_1],
4343
];
4444

45-
if (PHP_VERSION_ID >= 80300 && PHP_VERSION_ID <= 80300) {
45+
if (PHP_VERSION_ID >= 80300 && PHP_VERSION_ID <= 80399) {
4646
$versionsAndExpected[] = ['1.0.1-alpha.3@alpha', '1.0.1-alpha.3', self::DOWNLOAD_URL_1_0_1_ALPHA_3];
4747
$versionsAndExpected[] = ['^1.0', '1.0.1', self::DOWNLOAD_URL_1_0_1];
4848
$versionsAndExpected[] = ['^1.1.0@alpha', '1.1.0-beta.1', self::DOWNLOAD_URL_1_1_0_BETA_1];

0 commit comments

Comments
 (0)