Skip to content

Commit 941dbb5

Browse files
committed
fix: add repl instrumentation for context sharing
1 parent 34f67b4 commit 941dbb5

12 files changed

Lines changed: 942 additions & 27 deletions

File tree

.github/workflows/repl-e2e.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: REPL E2E Tests
2+
3+
on:
4+
pull_request:
5+
branches: [master]
6+
7+
jobs:
8+
repl-e2e:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
node-version: [20.18.1, 24.x]
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Use Node.js ${{ matrix.node-version }}
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: ${{ matrix.node-version }}
21+
cache: "npm"
22+
23+
- name: Cache Testplane browsers and drivers
24+
uses: actions/cache@v3
25+
with:
26+
path: ~/.testplane
27+
key: ${{ runner.os }}-testplane-repl-e2e-${{ matrix.node-version }}
28+
restore-keys: |
29+
${{ runner.os }}-testplane-repl-e2e-
30+
${{ runner.os }}-testplane-
31+
32+
- name: Install dependencies
33+
run: npm ci
34+
35+
- name: Build project
36+
run: npm run build
37+
38+
- name: Run REPL e2e tests
39+
run: npm run test-e2e -- --grep "REPL e2e"

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ bundle.compat.js
2020
bundle.native.js
2121
wt/**
2222
tmp/**
23+
test/e2e/**/fixture-project/.testplane/

0 commit comments

Comments
 (0)