Skip to content

Add isometric fleet template with mobile agent support #286

Add isometric fleet template with mobile agent support

Add isometric fleet template with mobile agent support #286

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: [22.x, 23.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 ./e2e/run-all-tests.sh
chmod +x ./e2e/scenario-*/test.sh
chmod +x ./e2e/scenario-*/setup.sh
chmod +x ./e2e/scenario-*/teardown.sh
chmod +x ./e2e/scenario-*/check.sh
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Build packages
run: npm run build
- name: Install PM2 globally
run: npm install -g pm2
- name: Run unit tests
run: npm test
env:
CI: true
- name: Run integration tests
run: npm run test:e2e -- --no-llm --verbose
env:
# All scenarios now use mockLLM mode and run without external API keys
# The --no-llm flag skips any scenarios with a 'requires-llm' marker file
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