Skip to content

Commit b8a9bd9

Browse files
committed
Fix CI
1 parent c634919 commit b8a9bd9

2 files changed

Lines changed: 9 additions & 11 deletions

File tree

.github/workflows/php.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
php-version: ['8.1', '8.2', '8.3', '8.4']
22+
php-version: ['8.2', '8.3', '8.4']
2323

2424
uses: simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_phplinter.yml@v1.9.3
2525
with:
@@ -45,7 +45,7 @@ jobs:
4545
fail-fast: false
4646
matrix:
4747
operating-system: [ubuntu-latest]
48-
php-versions: ['8.1', '8.2', '8.3']
48+
php-versions: ['8.2', '8.3', '8.4']
4949

5050
steps:
5151
- name: Setup PHP, with composer and extensions
@@ -91,15 +91,15 @@ jobs:
9191
run: composer install --no-progress --prefer-dist --optimize-autoloader
9292

9393
- name: Run unit tests with coverage
94-
if: ${{ matrix.php-versions == '8.1' }}
94+
if: ${{ matrix.php-versions == '8.2' }}
9595
run: ./vendor/bin/phpunit
9696

9797
- name: Run unit tests (no coverage)
98-
if: ${{ matrix.php-versions != '8.1' }}
98+
if: ${{ matrix.php-versions != '8.2' }}
9999
run: ./vendor/bin/phpunit --no-coverage
100100

101101
- name: Save coverage data
102-
if: ${{ matrix.php-versions == '8.1' }}
102+
if: ${{ matrix.php-versions == '8.2' }}
103103
uses: actions/upload-artifact@v4
104104
with:
105105
name: coverage-data
@@ -113,7 +113,7 @@ jobs:
113113
fail-fast: true
114114
matrix:
115115
operating-system: [windows-latest]
116-
php-versions: ['8.1', '8.2', '8.3']
116+
php-versions: ['8.2', '8.3', '8.4']
117117

118118
steps:
119119
- name: Setup PHP, with composer and extensions
@@ -253,10 +253,9 @@ jobs:
253253
uses: shivammathur/setup-php@v2
254254
with:
255255
# Should be the lowest supported version
256-
php-version: '8.1'
257-
extensions: ctype, date, dom, hash, fileinfo, filter, json, mbstring, mysql, \
258-
openssl, pcre, pdo, pdo_sqlite, posix, soap, spl, xml
259-
tools: composer
256+
php-version: '8.2'
257+
extensions: mbstring, soap, xml
258+
tools: composer:v2
260259
coverage: none
261260

262261
- name: Setup problem matchers for PHP

psalm.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@
7979

8080
<stubs>
8181
<file name="vendor/simplesamlphp/simplesamlphp-test-framework/stubs/krb5.php" />
82-
<file name="vendor/simplesamlphp/simplesamlphp-test-framework/stubs/memcache.php" />
8382
<file name="vendor/simplesamlphp/simplesamlphp-test-framework/stubs/memcached.php" />
8483
<file name="vendor/simplesamlphp/simplesamlphp-test-framework/stubs/predis.php" />
8584
</stubs>

0 commit comments

Comments
 (0)