-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (34 loc) · 817 Bytes
/
test-cpp.yaml
File metadata and controls
40 lines (34 loc) · 817 Bytes
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
name: Test cpp
on:
pull_request:
branches: [main]
paths:
- ".github/workflows/test-cpp.yaml"
- "cpp/**"
- "encoding-core/**"
- "native-tests/**"
- "scripts/generate-cpp-dataset.js"
- "tests-datasets/dataset.json"
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
test-cpp:
name: Run GTest suite
runs-on: ubuntu-24.04
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: 20
- name: Install dependencies
run: yarn install --immutable
shell: bash
- name: Run GTest
run: yarn test:cpp:prepare