Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

integrationtests

integrationtests #46

name: integrationtests
on:
workflow_call:
schedule:
- cron: '0 1 * * *'
jobs:
integrationtests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php:
- '8.0'
- '8.1'
- '8.2'
- '8.3'
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Check PHP version
run: php -v
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Cache composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ matrix.php }}-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-${{ matrix.php }}-
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Run integration tests
env:
CORBADO_PROJECT_ID: ${{ secrets.CORBADO_PROJECT_ID }}
CORBADO_API_SECRET: ${{ secrets.CORBADO_API_SECRET }}
CORBADO_FRONTEND_API: ${{ secrets.CORBADO_FRONTEND_API }}
CORBADO_BACKEND_API: ${{ secrets.CORBADO_BACKEND_API }}
run: composer integrationtests