Skip to content

Clean up unused gateways #195

Clean up unused gateways

Clean up unused gateways #195

Workflow file for this run

name: Tests
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Make scripts executable
run: |
chmod +x ./tests/run-all-tests.sh
chmod +x ./tests/scenario-*/test.sh
chmod +x ./tests/scenario-*/setup.sh
chmod +x ./tests/scenario-*/teardown.sh
chmod +x ./tests/scenario-*/check.sh
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Build packages
run: npm run build
- name: Run tests (without LLM scenarios)
run: ./tests/run-all-tests.sh --no-llm --verbose
env:
# Scenarios 8, 9, 10 require OPENAI_API_KEY and are skipped with --no-llm flag
CI: true
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results-node-${{ matrix.node-version }}
path: test-results.log