-
Notifications
You must be signed in to change notification settings - Fork 5
48 lines (41 loc) · 1.01 KB
/
_test-integrations.yml
File metadata and controls
48 lines (41 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#
# 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