Set up a native testing harness for low-level network testing

Primarily relevant for SOCKS, but probably more generally in future.
This commit is contained in:
Tim Perry
2026-09-08 17:40:47 +02:00
parent 9c12198b5d
commit 31946e9999
7 changed files with 2292 additions and 0 deletions
+16
View File
@@ -48,6 +48,22 @@ jobs:
tag: ${{ github.ref }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
test-native:
name: Run the native hook tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Set up Node.js
uses: actions/setup-node@v7
with:
node-version: '24'
cache: 'npm'
cache-dependency-path: 'test/native/package-lock.json'
- name: Run tests
run: cd test/native && npm install && npm test
test-android:
name: Test on Android emulator
runs-on: ubuntu-latest