Skip to content

Commit

Permalink
tests: test against upcoming symfony 6
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-doehring committed Nov 21, 2021
1 parent 9d06b62 commit 4f037cb
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/phpunit-symfony6.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: phpunit-symfony6

on: [push, pull_request]

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os:
- ubuntu-latest
php:
- 8.0
- 8.1

name: php${{ matrix.php }} - symfony 6

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: xdebug

- name: Setup Problem Matches
run: |
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Install dependencies
run: composer require symfony/http-foundation:6.0.x-dev && composer update

- name: Execute tests
run: vendor/bin/phpunit -v

0 comments on commit 4f037cb

Please sign in to comment.