complete gateway sdk removal #187
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: 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 |