Skip to content

Commit

Permalink
Merge pull request #879 from mcg-web/fix-ci-builds
Browse files Browse the repository at this point in the history
Fix ci builds
  • Loading branch information
mcg-web authored Sep 22, 2021
2 parents f6f0f9a + a524634 commit 1acc917
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:

jobs:
build:
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
run: composer test

coding-standard:
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
name: Coding Standard
steps:
- name: "Checkout"
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
run: composer check-cs

benchmark:
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
name: Benchmark
steps:
- name: "Checkout"
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
run: composer bench

static-analysis:
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
name: "Static analysis"
steps:
- name: "Checkout"
Expand Down Expand Up @@ -192,7 +192,7 @@ jobs:
run: composer static-analysis

coverage:
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
name: "Coverage"
steps:
- name: "Checkout"
Expand Down
3 changes: 2 additions & 1 deletion tests/Functional/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use Symfony\Bundle\FrameworkBundle\Client;
use Symfony\Bundle\FrameworkBundle\KernelBrowser;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\HttpFoundation\Request;

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

protected static function getContainer()
protected static function getContainer(): ContainerInterface
{
return static::$kernel->getContainer();
}
Expand Down

0 comments on commit 1acc917

Please sign in to comment.