Skip to content

CLA: Manual audit — assign licenses to 10 file(s) #8

CLA: Manual audit — assign licenses to 10 file(s)

CLA: Manual audit — assign licenses to 10 file(s) #8

name: Run Integration Tests
on:
workflow_dispatch:
inputs:
custom_engine_url:
description: 'Optional custom engine URL (overrides stock engine)'
required: false
default: ''
pull_request:
push:
branches:
- 'master'
jobs:
run-tests:
name: docker compose up (headless)
runs-on: ubuntu-latest
steps:
- name: Upload Event File
uses: actions/upload-artifact@v4
with:
name: Event File
path: ${{ github.event_path }}
- name: Checkout Repository
uses: actions/checkout@v4
- name: Build Test Image
env:
CUSTOM_ENGINE_URL: ${{ github.event.inputs.custom_engine_url || vars.CUSTOM_ENGINE_URL || '' }}
run: |
BUILD_ARGS=""
if [ -n "$CUSTOM_ENGINE_URL" ]; then
BUILD_ARGS="--build-arg CUSTOM_ENGINE_URL=$CUSTOM_ENGINE_URL"
fi
docker compose -f tools/headless_testing/docker-compose.yml build $BUILD_ARGS bar
timeout-minutes: 15
- name: Run Tests
run: docker compose -f tools/headless_testing/docker-compose.yml up --no-build
timeout-minutes: 30
- name: Upload Integration Test Results
if: always()
uses: actions/upload-artifact@v4
with:
name: Integration Test Results
path: |
tools/headless_testing/testlog/results.json