Skip to content

Integration Test

Integration Test #1

#
# Run integration tests.
#
name: Integration Test
on:
workflow_call:
workflow_dispatch:
jobs:
run-tests:
name: Run Integration Tests
timeout-minutes: 30
strategy:
max-parallel: 4
matrix:
os:
- "ubuntu-latest"
- "windows-latest"
- "macos-latest"
node-version:
- "18"
- "22"
runs-on: ${{ matrix.os }}
steps:
- name: Check out Git repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install Node.js dependencies
run: npm ci
- name: Compilation
run: npm run build
- name: Test code
env:
MINDEE_API_KEY: ${{ secrets.MINDEE_API_KEY_SE_TESTS }}
WORKFLOW_ID: ${{ secrets.WORKFLOW_ID_SE_TESTS }}
run: npm run test-integration