Skip to content

feat: add an option to opt-out of agentic ai #29

feat: add an option to opt-out of agentic ai

feat: add an option to opt-out of agentic ai #29

Workflow file for this run

name: run-php-tests
on:
pull_request:
push:
branches: [ base ]
jobs:
changes:
runs-on: ubuntu-latest
outputs:
php: ${{ steps.filter.outputs.php }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
php:
- '**.php'
- '.github/workflows/aion-tests.yml'
- 'composer.json'
- 'composer.lock'
- '.aion/**'
test:
needs: changes
if: needs.changes.outputs.php == 'true'
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
profile: [api-stateless, web-stateful, api-stateless-full, api-stateful-lite, oauth-full-no-ai]
name: ${{ matrix.profile }} on ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
extensions: bcmath, curl, mbstring, intl, fileinfo, sodium, zip, sqlite3, pdo_sqlite, mysql, pdo_mysql, pgsql, pdo_pgsql
coverage: none
- name: Install Root Dependencies
run: composer install --no-interaction --no-progress --ansi --no-scripts
- name: Run Sandbox Profile
run: php .aion/spark aion:sandbox ${{ matrix.profile }}