Skip to content

Commit 1acc917

Browse files
authored
Merge pull request #879 from mcg-web/fix-ci-builds
Fix ci builds
2 parents f6f0f9a + a524634 commit 1acc917

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515

1616
jobs:
1717
build:
18-
runs-on: ubuntu-16.04
18+
runs-on: ubuntu-20.04
1919
strategy:
2020
fail-fast: false
2121
matrix:
@@ -108,7 +108,7 @@ jobs:
108108
run: composer test
109109

110110
coding-standard:
111-
runs-on: ubuntu-16.04
111+
runs-on: ubuntu-20.04
112112
name: Coding Standard
113113
steps:
114114
- name: "Checkout"
@@ -136,7 +136,7 @@ jobs:
136136
run: composer check-cs
137137

138138
benchmark:
139-
runs-on: ubuntu-16.04
139+
runs-on: ubuntu-20.04
140140
name: Benchmark
141141
steps:
142142
- name: "Checkout"
@@ -164,7 +164,7 @@ jobs:
164164
run: composer bench
165165

166166
static-analysis:
167-
runs-on: ubuntu-16.04
167+
runs-on: ubuntu-20.04
168168
name: "Static analysis"
169169
steps:
170170
- name: "Checkout"
@@ -192,7 +192,7 @@ jobs:
192192
run: composer static-analysis
193193

194194
coverage:
195-
runs-on: ubuntu-16.04
195+
runs-on: ubuntu-20.04
196196
name: "Coverage"
197197
steps:
198198
- name: "Checkout"

tests/Functional/TestCase.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
use Symfony\Bundle\FrameworkBundle\Client;
1010
use Symfony\Bundle\FrameworkBundle\KernelBrowser;
1111
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
12+
use Symfony\Component\DependencyInjection\ContainerInterface;
1213
use Symfony\Component\Filesystem\Filesystem;
1314
use Symfony\Component\HttpFoundation\Request;
1415

@@ -90,7 +91,7 @@ protected static function assertGraphQL(string $query, array $expectedData = nul
9091
static::assertSame($expected, $result, \json_encode($result));
9192
}
9293

93-
protected static function getContainer()
94+
protected static function getContainer(): ContainerInterface
9495
{
9596
return static::$kernel->getContainer();
9697
}

0 commit comments

Comments
 (0)