mirror of
https://github.com/doctrine/migrations.git
synced 2026-03-23 22:42:14 +01:00
Run tests on PHP 8.1 as well (#1251)
* Run tests on PHP 8.1 as well * Bump AppVeyor to PHP 8.1
This commit is contained in:
committed by
GitHub
parent
5713b45c93
commit
fe4837b88e
@@ -13,7 +13,7 @@ cache:
|
||||
|
||||
environment:
|
||||
matrix:
|
||||
- php: 7.4.28
|
||||
- php: 8.1.4
|
||||
|
||||
init:
|
||||
- SET PATH=C:\Program Files\OpenSSL;c:\tools\php;C:\tools\composer;%PATH%
|
||||
|
||||
7
.github/workflows/continuous-integration.yml
vendored
7
.github/workflows/continuous-integration.yml
vendored
@@ -28,6 +28,7 @@ jobs:
|
||||
php-version:
|
||||
- "7.4"
|
||||
- "8.0"
|
||||
- "8.1"
|
||||
dependencies:
|
||||
- "highest"
|
||||
include:
|
||||
@@ -65,12 +66,6 @@ jobs:
|
||||
name: "phpunit-${{ matrix.deps }}-${{ matrix.php-version }}.coverage"
|
||||
path: "coverage.xml"
|
||||
|
||||
phpunit-with-symfony-6:
|
||||
name: "PHPUnit with Symfony 6.0.x-dev"
|
||||
uses: "doctrine/.github/.github/workflows/continuous-integration-symfony-unstable.yml@1.4.1"
|
||||
with:
|
||||
symfony-version-constraint: "6.0.*"
|
||||
|
||||
upload_coverage:
|
||||
name: "Upload coverage to Codecov"
|
||||
runs-on: "ubuntu-20.04"
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
"phpstan/phpstan-phpunit": "^1.1",
|
||||
"phpstan/phpstan-strict-rules": "^1.1",
|
||||
"phpstan/phpstan-symfony": "^1.1",
|
||||
"phpunit/phpunit": "^9.4",
|
||||
"phpunit/phpunit": "^9.5",
|
||||
"symfony/cache": "^4.4 || ^5.4 || ^6.0",
|
||||
"symfony/process": "^4.4 || ^5.4 || ^6.0",
|
||||
"symfony/yaml": "^4.4 || ^5.4 || ^6.0"
|
||||
|
||||
@@ -176,9 +176,10 @@ class TableMetadataStorageTest extends TestCase
|
||||
$this->connection->getDatabasePlatform()->quoteIdentifier($this->config->getTableName())
|
||||
);
|
||||
$rows = $this->connection->fetchAllAssociative($sql);
|
||||
self::assertSame([
|
||||
self::assertEquals([
|
||||
0 =>
|
||||
[
|
||||
// Depending on the database driver, execution_time might be returned either as string or int.
|
||||
'version' => '1230',
|
||||
'executed_at' => '2010-01-05 10:30:21',
|
||||
'execution_time' => '31000',
|
||||
@@ -199,9 +200,10 @@ class TableMetadataStorageTest extends TestCase
|
||||
$this->connection->getDatabasePlatform()->quoteIdentifier($this->config->getTableName())
|
||||
);
|
||||
$rows = $this->connection->fetchAllAssociative($sql);
|
||||
self::assertSame([
|
||||
self::assertEquals([
|
||||
0 =>
|
||||
[
|
||||
// Depending on the database driver, execution_time might be returned either as string or int.
|
||||
'version' => '1230',
|
||||
'executed_at' => '2010-01-05 10:30:21',
|
||||
'execution_time' => '31490',
|
||||
|
||||
Reference in New Issue
Block a user