Skip to content

Add features to serverinfo #231

Add features to serverinfo

Add features to serverinfo #231

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
name: PHP Legacy Integration (Keycloak compatibility)
jobs:
Integration:
runs-on: ubuntu-latest
strategy:
matrix:
keycloak: [13.0.0, 14.0.0, 15.0.0, 16.0.0, 17.0.0-legacy, 18.0.0-legacy]
env:
KEYCLOAK_VERSION: ${{ matrix.keycloak }}
KEYCLOAK_BASE_URL: 'http://localhost:8080/auth'
XDEBUG_MODE: coverage
services:
keycloak:
image: quay.io/keycloak/keycloak:${{ matrix.keycloak }}
env:
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: admin
ports:
- '8080:8080'
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Wait for Keycloak
uses: iFaxity/wait-on-action@v1
with:
resource: ${{ env.KEYCLOAK_BASE_URL }}
- name: Run integration tests
run: vendor/bin/phpunit --testsuite integration