feat: Socialite OIDC JWKS refresh #399
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: scout | |
| on: | |
| push: | |
| pull_request: | |
| env: | |
| RUN_BLOCKING_TESTS: true | |
| jobs: | |
| meilisearch: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| services: | |
| meilisearch: | |
| image: getmeili/meilisearch:latest | |
| env: | |
| MEILI_MASTER_KEY: secret | |
| MEILI_NO_ANALYTICS: true | |
| ports: | |
| - 7700:7700 | |
| options: >- | |
| --health-cmd "curl -f http://localhost:7700/health" | |
| --health-interval 10s | |
| --health-timeout 5s | |
| --health-retries 5 | |
| container: | |
| image: phpswoole/swoole:6.2.0-php8.4 | |
| strategy: | |
| fail-fast: true | |
| name: Meilisearch | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Log trigger context | |
| uses: ./.github/actions/log-trigger-context | |
| - name: Setup PHP extensions | |
| uses: ./.github/actions/setup-php | |
| - name: Cache Composer dependencies | |
| uses: actions/cache@v5 | |
| with: | |
| path: /root/.composer/cache | |
| key: composer-8.4-${{ hashFiles('composer.lock') }} | |
| restore-keys: composer-8.4- | |
| - name: Install dependencies | |
| run: COMPOSER_MEMORY_LIMIT=-1 composer install --prefer-dist -n -o | |
| - name: Execute integration tests | |
| env: | |
| RUN_MEILISEARCH_INTEGRATION_TESTS: true | |
| MEILISEARCH_HOST: meilisearch | |
| MEILISEARCH_PORT: 7700 | |
| MEILISEARCH_KEY: secret | |
| run: vendor/bin/phpunit tests/Integration/Scout/Meilisearch | |
| typesense: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| services: | |
| typesense: | |
| image: typesense/typesense:27.1 | |
| env: | |
| TYPESENSE_API_KEY: secret | |
| TYPESENSE_DATA_DIR: /tmp | |
| ports: | |
| - 8108:8108 | |
| container: | |
| image: phpswoole/swoole:6.2.0-php8.4 | |
| strategy: | |
| fail-fast: true | |
| name: Typesense | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Log trigger context | |
| uses: ./.github/actions/log-trigger-context | |
| - name: Setup PHP extensions | |
| uses: ./.github/actions/setup-php | |
| - name: Cache Composer dependencies | |
| uses: actions/cache@v5 | |
| with: | |
| path: /root/.composer/cache | |
| key: composer-8.4-${{ hashFiles('composer.lock') }} | |
| restore-keys: composer-8.4- | |
| - name: Install dependencies | |
| run: COMPOSER_MEMORY_LIMIT=-1 composer install --prefer-dist -n -o | |
| - name: Execute integration tests | |
| env: | |
| RUN_TYPESENSE_INTEGRATION_TESTS: true | |
| TYPESENSE_HOST: typesense | |
| TYPESENSE_PORT: 8108 | |
| TYPESENSE_API_KEY: secret | |
| TYPESENSE_PROTOCOL: http | |
| run: vendor/bin/phpunit tests/Integration/Scout/Typesense | |
| algolia: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| container: | |
| image: phpswoole/swoole:6.2.0-php8.4 | |
| strategy: | |
| fail-fast: true | |
| name: Algolia | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Log trigger context | |
| uses: ./.github/actions/log-trigger-context | |
| - name: Setup PHP extensions | |
| uses: ./.github/actions/setup-php | |
| - name: Cache Composer dependencies | |
| uses: actions/cache@v5 | |
| with: | |
| path: /root/.composer/cache | |
| key: composer-8.4-${{ hashFiles('composer.lock') }} | |
| restore-keys: composer-8.4- | |
| - name: Install dependencies | |
| run: COMPOSER_MEMORY_LIMIT=-1 composer install --prefer-dist -n -o | |
| - name: Check credentials available | |
| id: creds | |
| run: | | |
| if [ -n "${{ secrets.ALGOLIA_APP_ID }}" ] && [ -n "${{ secrets.ALGOLIA_SECRET }}" ]; then | |
| echo "present=true" >> "$GITHUB_OUTPUT" | |
| else | |
| echo "present=false" >> "$GITHUB_OUTPUT" | |
| fi | |
| - name: Execute integration tests | |
| if: steps.creds.outputs.present == 'true' | |
| env: | |
| RUN_ALGOLIA_INTEGRATION_TESTS: true | |
| ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }} | |
| ALGOLIA_SECRET: ${{ secrets.ALGOLIA_SECRET }} | |
| run: vendor/bin/phpunit tests/Integration/Scout/Algolia | |
| - name: Skip note (credentials not configured) | |
| if: steps.creds.outputs.present != 'true' | |
| run: echo "ALGOLIA_APP_ID / ALGOLIA_SECRET not configured — integration tests skipped." |